From 42e480a6dc0e023fb9160017090b313f75dfa04b Mon Sep 17 00:00:00 2001 From: kshitiz305 Date: Wed, 3 May 2023 15:37:59 +0530 Subject: [PATCH 1/2] Fix cosmos link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FILE: ./not-so-smart-contracts/cosmos/non_determinism/README.md [✖] https://lev.pm/posts/2020-04-18-golang-map-randomness/ #291 --- not-so-smart-contracts/cosmos/non_determinism/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/not-so-smart-contracts/cosmos/non_determinism/README.md b/not-so-smart-contracts/cosmos/non_determinism/README.md index ab44be24..d554295d 100644 --- a/not-so-smart-contracts/cosmos/non_determinism/README.md +++ b/not-so-smart-contracts/cosmos/non_determinism/README.md @@ -3,7 +3,7 @@ Non-determinism in conensus-relevant code will cause the blockchain to halt. There are quite a few sources of non-determinism, some of which are specific to the Go language: -- [`range` iterations over an unordered map or other operations involving unordered structures](https://lev.pm/posts/2020-04-18-golang-map-randomness/) +- [`range` iterations over an unordered map or other operations involving unordered structures](https://www.delftstack.com/howto/go/how-to-iterate-over-an-entire-map-in-go/#iterate-over-all-keys-and-values-of-a-map-in-go) - [Implementation (platform) dependent types like `int`](https://go.dev/ref/spec#Numeric_types) or `filepath.Ext` - [goroutines and `select` statement](https://github.com/golang/go/issues/33702) - [Memory addresses](https://github.com/cosmos/cosmos-sdk/issues/11726#issuecomment-1108427164) From 4764c01ffdd1d2d5d886cbc2724d6b2e192e9e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82atek?= Date: Thu, 4 May 2023 11:23:03 +0200 Subject: [PATCH 2/2] Update not-so-smart-contracts/cosmos/non_determinism/README.md --- not-so-smart-contracts/cosmos/non_determinism/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/not-so-smart-contracts/cosmos/non_determinism/README.md b/not-so-smart-contracts/cosmos/non_determinism/README.md index d554295d..0e1dc2a9 100644 --- a/not-so-smart-contracts/cosmos/non_determinism/README.md +++ b/not-so-smart-contracts/cosmos/non_determinism/README.md @@ -3,7 +3,7 @@ Non-determinism in conensus-relevant code will cause the blockchain to halt. There are quite a few sources of non-determinism, some of which are specific to the Go language: -- [`range` iterations over an unordered map or other operations involving unordered structures](https://www.delftstack.com/howto/go/how-to-iterate-over-an-entire-map-in-go/#iterate-over-all-keys-and-values-of-a-map-in-go) +- [`range` iterations over an unordered map or other operations involving unordered structures](https://go.dev/blog/maps#iteration-order) - [Implementation (platform) dependent types like `int`](https://go.dev/ref/spec#Numeric_types) or `filepath.Ext` - [goroutines and `select` statement](https://github.com/golang/go/issues/33702) - [Memory addresses](https://github.com/cosmos/cosmos-sdk/issues/11726#issuecomment-1108427164)