-
Notifications
You must be signed in to change notification settings - Fork 159
chore(all): final small changes to the libevm branch #862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Parent:
chore(all): libevm phase 2.5
Merged
Changes from all commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
ea9895f
chore(plugin/evm/header): SetPredicateBytesInExtra uses an else block…
qdm12 729d9a2
chore(consensus/dummy): use already existing variable headerExtra
qdm12 3d316ed
chore(consensus/dummy/consensus.go): simplify big int assign in Final…
qdm12 a20ef87
chore(accounts/abi/bind): fix comment for TestGetSenderNativeAssetCall
qdm12 c250b3c
accounts/abi/bind/utils_test.go: revert error check in TestWaitDeploy…
qdm12 aaf9a47
consensus/dummy/consensus.go: rename configExtra to config in verifyH…
qdm12 81b6aa3
consensus/dummy/consensus.go: rename configExtra to config in DummyEn…
qdm12 4dfcdaf
core/blockchain.go: revert comment on CacheConfig.triedbConfig
qdm12 993c38e
core/chain_makers.go: rename configExtra to config in chainMaker.make…
qdm12 b67c9c0
core/txpool/blobpool/blobpool_test.go: rename configExtra to config i…
qdm12 1587d63
core/txpool/legacypool/legacypool.go: assign ap3Timestamp variable in…
qdm12 6f347d2
core/txpool/legacypool/legacypool.go: assign ap3Time variable in Lega…
qdm12 3e6a155
accounts/abi/bind/bind_extra_test.go: improve `TestGetSenderNativeAss…
qdm12 8a47b05
metrics/prometheus/prometheus.go: revert newline
qdm12 fb6417a
core/blockain_ext.go: improve comment of `getOrOverrideAsRegisteredCo…
qdm12 dcd3a33
core/blockain_ext.go: simplify switch to if check in `getOrOverrideAs…
qdm12 d309f24
core/blockain_test.go: revert genesis config field
qdm12 871af97
core/evm.go: improve comment of `OverrideNewEVMArgs`
qdm12 f70bd1c
core/evm.go: revert newline in `NewEVMBlockContext`
qdm12 abb9192
plugin/evm/header/extra_test.go: TestPredicateBytesExtra
qdm12 e17f934
metrics: improve/fix comments on function calls change
qdm12 fc9a392
plugin/evm/rawdb: use ethrawdb alias for consistency
qdm12 f9bbbc3
Pin github.com/fjl/gencodec to v0.1.1
qdm12 46b3b91
core/state_processor_ext.go: fix incomplete copyright notice
qdm12 a0f5897
core/state_processor_ext.go: simplify if else block in `ApplyPrecompi…
qdm12 6e08a05
plugin/evm/block.go: use `rulesExtra` variable in Block.verifyPredicates
qdm12 abcdfea
core/evm.go: rename `predicateResults` -> `predicateBytes` in `NewEVM…
qdm12 5eaa6d2
core/extstate/statedb.go: fix comment of StateDB.predicateStorageSlots
qdm12 1c331e0
core/blochain.go: simplify assign in BlockChain.writeBlockWithState
qdm12 5f4ea42
utils/key.go: inline body of unused NewKeyFromECDSA
qdm12 8c8bd6c
utils/key.go: NewKey always uses crypto/rand.Reader
qdm12 c970f31
utils/key.go: add comments to `Key` and `NewKey`
qdm12 6f857b1
utils/key.go: NewKey takes a *testing.T argument and does not return …
qdm12 b1226a4
core/extstate/statedb.go: improve comment for StateDB.GetLogData
qdm12 3b6c2b4
core/extstate/statedb.go: remove unneeded newline in VmStateDB interface
qdm12 75ce0e9
core/extstate/statedb.go: combine ifs in StateDB.GetPredicateStorageS…
qdm12 a262e46
core/blockchain.go: improve comment within BlockChain.commitWithSnap
qdm12 2e06410
Replace GetLogData with Logs direct calls
qdm12 9522649
core/state/database.go: extend type and function imports
qdm12 5b670a4
core/state/snapshot/iterator.go: extend type imports to Iterator and …
qdm12 751e7ee
core/state/statedb.go: fix usage of godoc links in comments of Normal…
qdm12 0fbd50f
core/state/statedb_multicoin_test.go: improve existing tests
qdm12 c48b9e7
revert: new lines removed and added
qdm12 dd9f276
revert: ProcessBeaconBlockRoot argument evm -> vmenv
qdm12 8e44b56
core/state_processor_ext.go: improve NewBlockContext comment
qdm12 bc28ce7
core/state_processor_ext.go: improve ApplyPrecompileActivations comments
qdm12 95c07c5
eth/tracers/tracers.go: extend imports to GetMemoryCopyPadded
qdm12 7e874a7
nativeasset/contract.go: improve comments for NativeAssetCall.Run
qdm12 0108b8e
plugin/evm/rawdb/accessors_state_sync.go: fix import alias from rawdb…
qdm12 f4fb263
plugin/evm/rawdb/accessors_state_sync.go: alias import of rawdb as et…
qdm12 825d6f1
predicate/predicate_slots.go: export predicaters as `Predicaters`
qdm12 9c5d6ce
predicate/predicate_slots.go: rename `Predicaters` as `PredicaterExis…
qdm12 421feb9
predicate/predicate_results.go: rename `tx` -> `results` in `GetPredi…
qdm12 ae07060
predicate/predicate_bytes.go: remove now unused `HeaderFeeWindowSize`
qdm12 a9e0b7d
revert: precompile/contracts/warp/contract_warp_handler.go: revert `r…
qdm12 23a26a5
revert: precompile/contracts/warp/contract_test.go: use existing aval…
qdm12 52eb34a
revert: precompile/contract:interfaces.go: remove unused StateReader …
qdm12 3de4237
revert: plugin/evm/vm_warp_test.go: revert to not empty-check
qdm12 696eca5
revert: plugin/evm/vm.go: use `rules` instead of `rulesExtra` variabl…
qdm12 5b8792b
plugin/evm/header/block_gas_cost.go: use a single `headerExtra` variable
qdm12 3ce4213
params/config_libevm.go: fix godoc link in comment of `libevmInit`
qdm12 fc17046
params/config.go: fix godoc link in comment for `libevmInit`
qdm12 81a00c5
params/extras: move `ptrToString` in network_upgrades.go
qdm12 5e4c5d7
params/extras/config.go: improve comments (godoc syntax only)
qdm12 9ef2ca6
params/extras/config.go: remove isBlockForked comment mention (removed)
qdm12 8768772
params: remove unneeded type alias `ConfigCompatError`
qdm12 b68e9fc
Fix copyright headers with wrong dates
qdm12 f754344
core/genesis.go: update deprecation comment on `GenesisAccount`
qdm12 d7f1d8f
params/hooks_libevm.go: rename accessableState to accessibleState
qdm12 d57da13
params/extras/rules.go: fix godoc link in comment of IsPrecompileEnabled
qdm12 5ed8784
precompile/contract/mocks.go: regenerated
qdm12 f266ed2
core/state_processor_ext.go: fix double backticks into one backtick
qdm12 b94c676
triedb/hashdb/database.go: BackendConstructor always uses merkle reso…
qdm12 197e8a0
core/extstate: `New` constructor initializing `predicateStorageSlots`…
qdm12 89583db
core/state_processor_ext.go: replace Suicide with SelfDestruct in com…
qdm12 b9e3645
nativeasset/contract.go: remove commented code in NativeAssetCall.run
qdm12 d1816a9
precompiles/contract/interfaces.go: use types.Log directly instead of…
qdm12 b3427fc
params/hooks_libevm.go: use "maps" and "slices" packages instead of e…
qdm12 6f60756
Fix previous commit
qdm12 9bd298e
params/extras/config.go: remove no longer valid TODO comment
qdm12 567fecd
eth/api_debug_test.go: one block of imports similar to upstream
qdm12 4bff6b7
precompile/contracts/warp/config.go: change Config.Verify receiver to…
qdm12 7099e4f
plugin/evm/types/block_test.go: only import libevm types with dot
qdm12 2b30696
predicate/predicate_slots.go: unexport PredicaterExistChecker
qdm12 7e426d6
predicate/predicate_slots.go: re-export PredicaterExistChecker
qdm12 a71a671
plugin/evm/typesblock_test.go: only dot-import package under test
ARR4N fdbe6d9
chore(deps): use libevm avalanchego based on `v1.12.3-name-fortuna` (…
qdm12 569524d
chore(rawdb): move plugin/evm/rawdb to plugin/evm/customrawdb (#888)
qdm12 c197fab
chore(interfaces): use upstream code (#883)
qdm12 91ef4d7
chore(deps): bump libevm to v1.13.14-0.2.0.rc.4 (#889)
qdm12 5a9b54f
chore(types): move plugin/evm/types to plugin/evm/customtypes (#890)
qdm12 4d145b2
Merge branch 'libevm' into qdm12/libevm-last-changes
qdm12 6c4d6d5
params/extras/config.go: removed commented code
qdm12 0d6a6a3
core/exstate/statedb.go: unexport internal StateDB vmStateDB field
qdm12 eac14dc
plugin/evm/header/extra_test.go: deep copy wantPredicate from predica…
qdm12 1804c92
Merge branch 'libevm' into qdm12/libevm-last-changes
qdm12 cf8b6cb
params/extras: use upstream NewTimestampCompatError
qdm12 fc8fcc7
params/extras: use upstream ConfigCompatError
qdm12 5c7e279
params/hooks_libevm.go: clarify TODO comment foro accessibleState.Get…
qdm12 5c21e8b
sload.json: remove berlinBlock key
qdm12 c0accdf
Merge branch 'libevm' into qdm12/libevm-last-changes
qdm12 a9ec9ad
Revert "sload.json: remove berlinBlock key"
qdm12 91e152a
params/extras: use alias ethparams to import libevm/params
qdm12 ebb2492
revert: core/blockchain.go: re-add previousRoot != root check
qdm12 b09d1a9
accounts/abi/bind/util_test.go: revert reversion of error check
qdm12 8e252d2
core/state/database.go: actual functions that propagate values
qdm12 bf869bb
plugin/evm/customrawdb: remove ethrawdb alias and use simply rawdb
qdm12 1f3ca87
plugin/evm: add vm.rulesExtra helper function
qdm12 28055c6
plugin/evm/header/block_gas_cost.go: revert headerExtra -> extra
qdm12 f7edced
core/state/statedb_multicoin_test.go: clearer assertion for expected …
qdm12 2f5be5c
plugin/evm/header/extra_test.go: re-add previous tests
qdm12 8a75d6c
core/state/statedb_multicoin_test.go: clearer assertion for zero mult…
qdm12 8b5354b
plugin/evm: rename rulesExtra -> rules
qdm12 4b092e7
Merge branch 'libevm' into qdm12/libevm-last-changes
qdm12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.