-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add gasLimit to block header ...and include it in JSON-RPC responses. * Set GasLimit header field on prepareBlock * Add GASLIMIT opcode * No gasLimit when EthCompatible is off Preserve old Celo behavior when EthCompatible is turned off. * tests: gasLimit is now available for pruned blocks * Optional gasLimit in RLP-serialized block headers to provide compatibility with blocks before the gasLimit has been added to the header. * Keep gasLimit in RPC response if in block header See also #2062 (comment) * Move GASLIMIT opcode to G-fork * mycelo: enable GFork by default We always want to run and test the latest hard fork by default. * Ensure correct presence of gasLimit in RPC Before GFork, gasLimit is not in the header, so we have to * Add it if RPCEthCompatibility * Remove it if not RPCEthCompatibility, since it is now in the header struct and we would otherwise return a zero value After GFork it should be returned directly from the header, even if not RPCEthCompatibility, since it is now part of the header hash. * Only add gasLimit to header after GFork * Update monorepo_commit Required changes: * Using gasLimit in hash if present * Turn GFork off for CIP-35 test * Fix pending block when no RPCEthCompatibility The RPCEthCompatibility check was not intended here. See #2062 (comment)
- Loading branch information
Showing
14 changed files
with
113 additions
and
36 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 +1 @@ | ||
ad770ace57ec3fa1bc1fd540d0321ab2e7317076 | ||
d216e7599f499adec2e0200e599f601ea5424cde |
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