-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
genesis, params: add Miko hardfork on mainnet (#402)
* precompiled: add procompiled contract to verify proof of possession BLS * cmd, entrypoint: add an account cmd to generate BLS proof of possession * consortium/v2: upgrade ronin trusted org contract * genesis/testnet: add Miko hardfork on testnet * params/version: bump Ronin to version 2.7.0 * state_processor: fix out-of-order system txs The current way that transactions are processed by Consortium V2 engine allows a system transaction to be placed before a common transaction in a block. However, the generated logs and receipts are ordered so that those of system transactions are stored at the end (see `core/state_processor.go/Process`). This leads to mismatching betwwen logs/receipts and their corresponding transactions because the handler of `eth_getLogs` assume that receipts are stored in the same order with that of `block.Transactions()` (see `core/rawdb/accessors_chain.go/deriveLogFields`). * state_processor, consortium-v2: test out of order system transactions * state_processor: adjust out-of-order tx check The check for out-of-order transactions is applied to Miko blocks only. * genesis, params: add Miko hardfork on mainnet * params/version: bump Ronin to version 2.7.1 --------- Co-authored-by: NganSM <[email protected]>
- Loading branch information
Showing
20 changed files
with
594 additions
and
54 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
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
Oops, something went wrong.