Skip to content
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

(#3) Alloy Migration: migrate fork-adjacent files to alloy primitives #5771

Merged
merged 8 commits into from
Sep 15, 2023

Conversation

Evalir
Copy link
Member

@Evalir Evalir commented Sep 1, 2023

Switches the non-RPC types of the fork backend to use alloy types.

@Evalir Evalir marked this pull request as ready for review September 11, 2023 20:16
@Evalir Evalir marked this pull request as draft September 11, 2023 20:16
@Evalir Evalir force-pushed the evalir/migrate-fork-primitives branch from 0b19867 to b084d66 Compare September 13, 2023 16:33
@Evalir Evalir marked this pull request as ready for review September 14, 2023 06:36
@Evalir Evalir changed the title chore: migrate fork-adjacent files to alloy primitives (#3) Alloy Migration: migrate fork-adjacent files to alloy primitives Sep 14, 2023
@Evalir
Copy link
Member Author

Evalir commented Sep 15, 2023

@DaniPopes wdyt about merging this now? it will merge into PR #5770

@DaniPopes
Copy link
Member

go ahead

@Evalir Evalir merged commit d48d589 into evalir/migrate-executor-folder Sep 15, 2023
16 checks passed
@Evalir Evalir deleted the evalir/migrate-fork-primitives branch September 15, 2023 12:55
Evalir added a commit that referenced this pull request Sep 15, 2023
* feat: migrate non-cheatcode inspectors

* fix: properly create both create and create2 addresses

* chore: clippy

* (#3) Alloy Migration: migrate fork-adjacent files to alloy primitives (#5771)

* chore: use create2_from_code

* borrow it brah

* chore: use from word

* chore: drop to_be_bytes

* fmt

* chore: use from_word on both palces
Evalir added a commit that referenced this pull request Sep 18, 2023
* feat: use alloy revm branch

* fuzz/mod migrated

* progress

* progress, fmt

* fix imdb

* feat: cheatcodes compile

* feat: fork backend compiles

* feat: trace

* fuzz

* anvil progress

* chore: mem, fmt

* chore: db.rs

* chore: it lives

* fix test

* chore: clippy

* workin

* main backend stuff migrated

* chore: add glue on other crates

* chore: make executor use alloy types

* add glue for executor migration

* chore: use workspace alloy

* chore: undo revm bump changes

* chore: remove unneded prefix

* chore: fix fork fixture

* chore: uncomment tests

* chore: switch to up-to-date revm

* chore: clippy

* (#2) Alloy Migration: Migrate non-cheatcode inspectors (#5770)

* feat: migrate non-cheatcode inspectors

* fix: properly create both create and create2 addresses

* chore: clippy

* (#3) Alloy Migration: migrate fork-adjacent files to alloy primitives (#5771)

* chore: use create2_from_code

* borrow it brah

* chore: use from word

* chore: drop to_be_bytes

* fmt

* chore: use from_word on both palces

* chore: use address::random

* chore: make failure slot b256

* chore: use address::random

* chore: fix indexes

* chore: use contract.hash

* chore: do not collect

* chore: use display on alloy nums

* use + operator

* chore: unwrap bytes and replace import

* chore: Into:: -> ::from

* chore: fix test

* chore: use alloy imports

* chore: switch to alloy typesd

* chore: fix test
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.

2 participants