Skip to content

Comments

feat: Add initcode limit to be double of bytecode limit#503

Merged
rakita merged 1 commit intorelease/v25from
initcode_limit
Jun 5, 2023
Merged

feat: Add initcode limit to be double of bytecode limit#503
rakita merged 1 commit intorelease/v25from
initcode_limit

Conversation

@rakita
Copy link
Member

@rakita rakita commented Jun 5, 2023

Set initcode limit from config, it is 2* env.cfg.limit_contract_code_size

@rakita rakita marked this pull request as ready for review June 5, 2023 14:21
@rakita rakita merged commit 0a97b73 into release/v25 Jun 5, 2023
rakita added a commit that referenced this pull request Aug 8, 2023
* wip separate initial checks

* tests passing, consolidate some checks

* test

* feat: add transfer test

* temp

* Update crates/interpreter/src/gas/calc.rs

* / Initial gas that is deducted from the transaction gas limit.

* fmt

* account states

* temp

* Global account BlockState. wip

* few comments

* wip

* Tests working

* wip changes

* work on update and revert

* AccountState as a simple enum flag

* Add storage for EmptyEip161 account

* split state to component files

* continue spliting, wip State

* feat: Add initcode limit to be double of bytecode limit (#491)

* bigger cleanup, structure it

* wip reverts and the flow

* increments balance and some wip on reverts

* feat: Run CI on release branches (#506)

* feat: Add initcode limit to be double of bytecode limit (#503)

* chore: Move Precompiles to EVMData so Inspector can access it (#504)

* fix previous commit (#507)

* wip cache account, changeset and revert

* plain state wip, reverts compiles now

* working changes

* working and, added timestamps and println

* Add reverts

* clippy happy, some cleanup, work on reverts

* wip on spliting and creating BundleState

* needed things for integration

* Few utilities, emptydb with typed error

* wip

* fix some things

* cleanup

* refactoring

* clippy and some cleanup

* add state clear flag

* bugs fixes

* add state builder

* some cleanup and being more strict

* cleanup, and simplification

* check nonce for account

* make storage was_destroyed

* dont store storage when not needed

* dont ask db for destroyed accounts

* debug logs

* test account

* more debug

* save previous state on double touch

* check if pre eip161 touched account is already empty

* Changr address

* diferent debug account

* set wipe flag for destroyed

* remove some test clones

* nit

* clippy

* make state behind std

* lto

* cleanup

* set bigger stack size in tests

* fmt
@rakita rakita deleted the initcode_limit branch September 5, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant