Skip to content

Commit

Permalink
Fix: safe nonce overrider
Browse files Browse the repository at this point in the history
  • Loading branch information
karacurt committed Oct 9, 2024
1 parent 84993c8 commit 4e31ceb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion evm/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ func CreateSafeProposal(client *ethclient.Client, key *keystore.Key, safeAddress
}
nonce := safeNonce
if safeNonce == nil {
if safeNonce == big.NewInt(0) {
// Fetch the current nonce from the Safe contract
fetchedNonce, err := safeInstance.Nonce(&bind.CallOpts{})
if err != nil {
Expand Down
20 changes: 10 additions & 10 deletions examples/ownable-erc-721/OwnableERC721.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package version

var SeerVersion string = "0.3.1"
var SeerVersion string = "0.3.2"

0 comments on commit 4e31ceb

Please sign in to comment.