-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip `record_extarnal_cost` * Add support for external cost recording from the EVM * Add refund external cost support * Separate dispatchables with weight limit * introduce tbd EthereumWeigher * Validate gas to weight conversion * Add static opcode recording with temp costs * Add optional `transaction_len` parameter to `GasWeightMapping` * Account for pallet and call indexes * Rollback `transaction_len` param, use MAX_POV_SIZE ratio instead * wip tests * Add `uncached_account_code_proof_size_accounting_works` test * wip tests * Temp remove static external cost accounting * fix build * Temp remove static external cost accounting 2 * warning cleanup * fmt * clippy * taplo * Add `evm-with-weight-limit` to ci * Temp set evm fork + update Cargo.lock * handle `code_hash` * taplo * fmt * Handle `transact_with_weight_limit` as self contained * fix ts tests * suggestion * remove precompile test * some suggestions * remove `transact_with_weight_limit` * configurable `MaxPovSize` * test pov size constants * accessed storage overlayed cache * `new_from_weight_limit` suggestion * remove unnecessary check * warnings cleanup * set constant gas limit max pov size ratio * check state version for suicide * just completely remove suicide accounting * - `code` must be able to oog - refund based on effective used gas * `is_empty` accounting * fix build * `SSTORE` must record account storage proof size * suggestion: move weight_limit checks * editorconfig * fmt * rename `transaction_len` to `proof_size_base_cost` in runner * move `proof_size_base_cost` to validation primitive * gas limit saturated conversion * remove transaction proof size check outside validation * pin evm * pin evm+ * fix todos * fix build * scope of already recorded codes and storages must be per transaction * pin evm + implement new `record_external_operation` * fix runtime api versioning + legacy `ExecutionInfo` handling * editorconfig * cargo fmt * clippy * suggestion remove `evm-with-weight-limit` feature * fmt * update comment * update tests for additional `AccountBasicRead` in the evm * update evm pin
- Loading branch information
Showing
24 changed files
with
1,682 additions
and
191 deletions.
There are no files selected for viewing
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
Oops, something went wrong.