-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e888936
commit 3f64d0f
Showing
9 changed files
with
119 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ plugins: | |
|
||
lint: | ||
enabled: | ||
- clippy@1.65.0 | ||
- clippy@1.80.1 | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
@@ -28,7 +28,7 @@ lint: | |
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- rustfmt@1.65.0 | ||
- rustfmt@1.80.1 | ||
# - [email protected] - removed for being over-prissy and wanting tab indents - rrw 2023-04-25 | ||
ignore: | ||
- linters: [gitleaks] | ||
|
@@ -57,6 +57,7 @@ lint: | |
- "**/templates/*" | ||
- "templates/**" | ||
- "**/templates/**" | ||
- "smart-contracts/test/zilbridge/tokens/switcheo/**" | ||
|
||
runtimes: | ||
enabled: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
# TODOs | ||
|
||
1. Refactor SafeMath out of all the zilbridge takeover contracts; less conformant, but it's the default in 0.8.x and above. | ||
2. The validator should check whether the transaction it proxied ran out of gas (meter the gas used by the subtransaction and if the subtxn failed and it has < 15/16, say, gas left, it probably ran out - try again with more gas). | ||
1. Refactor SafeMath out of all the zilbridge takeover contracts; less | ||
conformant, but it's the default in 0.8.x and above. | ||
|
||
2. The validator should check whether the transaction it proxied ran | ||
out of gas (meter the gas used by the subtransaction and if the | ||
subtxn failed and it has < 15/16, say, gas left, it probably ran | ||
out - try again with more gas). | ||
|
||
3. We don't cope well when (as quite often happens) a chain (usually BSC) | ||
simply never confirms receipt of a transaction and we need to send it | ||
again (or just assume it succeeded, because although it has run, the | ||
chain isn't prepared to tell us this). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters