Skip to content
Merged
Show file tree
Hide file tree
Changes from 106 commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
9dbfe4a
feat: :arrow_up: upgrade dependencies to support EIP-7702
manuelmauro Jul 14, 2025
248b278
chore: :arrow_up: partly upgrade to EIP-7702 new APIs
manuelmauro Jul 14, 2025
0689dec
chore: :arrow_up: upgrade evm
manuelmauro Jul 15, 2025
b2153d5
feat: :sparkles: add authorization list to client RPC
manuelmauro Jul 15, 2025
a5b0c84
feat: :sparkles: add EIP-7702 transaction type to mock
manuelmauro Jul 15, 2025
60e4fe2
feat: :sparkles: add authorization list to trace_call debug function
manuelmauro Jul 15, 2025
e25b354
fix: :bug: make it compile
manuelmauro Jul 16, 2025
02c66ed
refactor: :rotating_light: remove unused import
manuelmauro Jul 16, 2025
c0421ae
fix: :pencil2: fix typo
manuelmauro Jul 16, 2025
e6999cf
fix: :bug: make tests compile
manuelmauro Jul 16, 2025
9037131
fix: :bug: fix compilation warnings in tests
manuelmauro Jul 16, 2025
6b5e725
fix: :bug: fix tests compilation errors
manuelmauro Jul 16, 2025
3881361
test: :recycle: refactor new XCM tests for EIP-7702 transactions
manuelmauro Jul 16, 2025
b71d812
fix: :bug: use proper value for AccessList
manuelmauro Jul 17, 2025
77ce46f
chore: :arrow_up: upgrade dependencies
manuelmauro Jul 17, 2025
8922164
feat: :sparkles: use Pectra config
manuelmauro Jul 17, 2025
92d61a8
Merge branch 'master' into manuel/add-support-for-eip7702
manuelmauro Jul 17, 2025
dc4245a
revert: :arrow_down: downgrade polkadot-sdk
manuelmauro Jul 17, 2025
c7f0bdf
chore: :pushpin: pin ethers version
manuelmauro Jul 17, 2025
0ea5242
chore: :label: regenerate TS types
manuelmauro Jul 17, 2025
9d51462
test: :white_check_mark: fix snapshots in dev_moonbase tests
manuelmauro Jul 18, 2025
891c8c0
chore: :pushpin: properly pin ethers.js
manuelmauro Jul 18, 2025
55e9a57
refactor: :rotating_light: biome
manuelmauro Jul 18, 2025
189341c
chore: :arrow_up: upgrade ethers.js in lockfile
manuelmauro Jul 18, 2025
f83e418
chore: :page_facing_up: add copyright note
manuelmauro Jul 18, 2025
699861e
fix: :bug: correctly access signature fields in tests
manuelmauro Jul 22, 2025
6ab8629
Merge branch 'master' into manuel/add-support-for-eip7702
manuelmauro Jul 23, 2025
baaec30
fix: :bug: properly manage new trace/core API version
manuelmauro Jul 23, 2025
438b850
fix: :bug: properly upgrade debug runtime API
manuelmauro Jul 23, 2025
a97f52c
chore: :arrow_up: upgrade polkadot.js api
manuelmauro Jul 28, 2025
bd50715
Merge branch 'master' into manuel/add-support-for-eip7702
manuelmauro Jul 28, 2025
005244a
feat: :sparkles: update runtime overrides to runtime-3900
manuelmauro Jul 29, 2025
c17fd30
Revert "feat: :sparkles: update runtime overrides to runtime-3900"
manuelmauro Jul 29, 2025
6e34d37
feat: :arrow_up: upgrade runtime overrides
manuelmauro Jul 29, 2025
a51ec35
feat: :arrow_up: upgrade polkadotjs to 16.4.3
manuelmauro Jul 29, 2025
5cc0755
fix: :bug: update lock file
manuelmauro Jul 29, 2025
660f5c1
chore: :page_facing_up: add cargo license exception
manuelmauro Jul 29, 2025
bd92763
test: :white_check_mark: add (failing) happy path test for EIP-7702
manuelmauro Jul 30, 2025
278b854
fix: :arrow_up: upgrade frontier
manuelmauro Jul 31, 2025
e60a974
fix: :arrow_down: downgrade polkadot-sdk
manuelmauro Jul 31, 2025
eec0b45
refactor: :rotating_light: use arrow function
manuelmauro Jul 31, 2025
da00684
test: :white_check_mark: refactor log into assertion
manuelmauro Jul 31, 2025
ad304cf
refactor: :recycle: refactor contract creation in test
manuelmauro Jul 31, 2025
260ab2b
refactor: :recycle: use viem utils instead of defining new helper fun…
manuelmauro Aug 4, 2025
fc65af8
test: :white_check_mark: fix happy path test
manuelmauro Aug 4, 2025
d52f857
Merge branch 'master' into manuel/add-support-for-eip7702
manuelmauro Aug 4, 2025
2abbbf0
test: :white_check_mark: draft pectra test vector
manuelmauro Aug 6, 2025
b88fb8b
fix: :arrow_up: upgrade frontier
manuelmauro Aug 7, 2025
3eec538
feat: :arrow_up: upgrade frontier and evm
manuelmauro Aug 11, 2025
13198b3
test: :white_check_mark: do not use Alith's account
manuelmauro Aug 12, 2025
2dca197
test: :white_check_mark: create helper function
manuelmauro Aug 12, 2025
d0d0070
test: :white_check_mark: move helper module
manuelmauro Aug 12, 2025
08f484c
test: :recycle: review self-delegation tests
manuelmauro Aug 12, 2025
0fc7692
chore: :white_check_mark: derive test IDs
manuelmauro Aug 12, 2025
752a108
test: :recycle: review invalid delegations tests
manuelmauro Aug 12, 2025
4e2d697
refactor: :recycle: change receiver address in txn
manuelmauro Aug 12, 2025
a73ed76
fix: :arrow_up: upgrade frontier
manuelmauro Aug 12, 2025
5a8541f
refactor: :recycle: do not fund receiver
manuelmauro Aug 13, 2025
1e00592
test: :recycle: review setcode test suite (1 to 8)
manuelmauro Aug 13, 2025
4905ba5
test: :white_check_mark: pass all test in EIP-7702 setcode suite
manuelmauro Aug 13, 2025
e77e16f
test: :white_check_mark: review EIP-7702 delegate call test suite
manuelmauro Aug 13, 2025
2861f46
test: :white_check_mark: review EIP-7702 advanced test suite
manuelmauro Aug 13, 2025
a9d846b
test: :white_check_mark: review EIP-7702 gas test suite
manuelmauro Aug 13, 2025
1692db2
Merge branch 'master' into manuel/add-support-for-eip7702
manuelmauro Aug 13, 2025
9748e28
test: :white_check_mark: update snapshot
manuelmauro Aug 13, 2025
d5dce4d
test: :white_check_mark: update test since zero-address delegation wa…
manuelmauro Aug 13, 2025
e400e42
Merge branch 'master' into manuel/add-support-for-eip7702
RomarQ Aug 14, 2025
40ef353
refactor: :white_check_mark: use createFundedAccount
manuelmauro Aug 14, 2025
cc418e7
test: :white_check_mark: fix failing transaction check
manuelmauro Aug 14, 2025
0817f33
test: :white_check_mark: merge EIP-7702 test smart contract files
manuelmauro Aug 14, 2025
cdc3f90
Merge branch 'master' into manuel/add-support-for-eip7702
RomarQ Aug 17, 2025
89f6908
refactor: :fire: revert fix on verify-licenses
manuelmauro Aug 18, 2025
2bcfb11
docs: :memo: betterf phrasing for EIP-7702 transaction support message
manuelmauro Aug 18, 2025
35818b9
docs: :memo: fix copyright notice in new files
manuelmauro Aug 18, 2025
cc44f36
docs: :memo: confirmed comment assumption
manuelmauro Aug 18, 2025
7ee1c2f
refactor: :recycle: remove weird let-else statements
manuelmauro Aug 18, 2025
b4c2c04
feat: :sparkles: default to EIP-1559 instead of EIP-7702
manuelmauro Aug 18, 2025
0cac1b8
refactor: :recycle: use coherent module import for TransactionSignature
manuelmauro Aug 18, 2025
fe6e390
refactor: :white_check_mark: use ALITH_PRIVATE_KEY constant in test
manuelmauro Aug 18, 2025
9f253c8
refactor: :test_tube: move import to the top
manuelmauro Aug 18, 2025
13d2ecb
refactor: :rotating_light: remove unused import
manuelmauro Aug 18, 2025
9d31062
test: :white_check_mark: move EIP-7702 test to common
manuelmauro Aug 19, 2025
a3230a6
Merge branch 'master' into manuel/add-support-for-eip7702
manuelmauro Aug 19, 2025
ae574de
test: :white_check_mark: update test with new transaction version def…
manuelmauro Aug 19, 2025
2c5042a
refactor: :recycle: use viem's default client
manuelmauro Aug 19, 2025
25d8fa8
chore: :arrow_up: upgrade viem
manuelmauro Aug 20, 2025
3c3a048
test: :recycle: refactor tests to use moonwall's utilities
manuelmauro Aug 20, 2025
5dc3520
fix: :bug: fix typo in transaction name
manuelmauro Aug 21, 2025
e173846
fix: :bug: remove unused variable
manuelmauro Aug 21, 2025
b357aaa
fix: :bug: fix test expectations
manuelmauro Aug 21, 2025
e3781bb
fix: :white_check_mark: fix transaction submission in test
manuelmauro Aug 21, 2025
768b04c
fix: :white_check_mark: do not skip gas estimation
manuelmauro Aug 21, 2025
7256743
keep same behavior for trace APIs version. 5 and 6
librelois Aug 22, 2025
d58edab
trace_transaction_before_version_7 is deprecated
librelois Aug 22, 2025
1dc8360
update frontier pin
librelois Aug 24, 2025
c7de66f
update frontier pin
librelois Aug 24, 2025
d0167a6
update frontier pin
librelois Aug 25, 2025
27b5258
tx type eip7702 with empty auth list are invalid tx (rejected by RPC)
librelois Aug 25, 2025
019b379
fix test "delegation to zero address should reset the delegation"
librelois Aug 25, 2025
fd9c563
Remove duplicated test
librelois Aug 27, 2025
ce9d6fa
fix test "should test gas refund for authorization clearing"
librelois Aug 27, 2025
9c6bb56
fix D020802T01
librelois Aug 27, 2025
15f8c0e
EIP-7702 does not follow chains of delegations.
librelois Aug 27, 2025
e49d67b
tests: auth list setup should have recipient without code
librelois Aug 27, 2025
476b489
fix test "should test pointer reverts and error propagation"
librelois Aug 27, 2025
c053531
Merge branch 'master' into manuel/add-support-for-eip7702
librelois Aug 27, 2025
e02751b
uncomment mandatory checks
librelois Aug 27, 2025
11321fb
Merge branch 'master' into manuel/add-support-for-eip7702
librelois Aug 27, 2025
4422625
apply suggestions
librelois Aug 27, 2025
558eaf0
Update test/suites/dev/common/test-eip7702/test-eip7702-happypath.ts
librelois Aug 27, 2025
e1bb1bc
remove useless comment
librelois Aug 27, 2025
db23977
fix TODO
librelois Aug 27, 2025
29f286e
test D020807T10: assert revert reason
librelois Aug 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 41 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ evm-tracing-events = { path = "primitives/rpc/evm-tracing-events", default-featu
moonbeam-core-primitives = { path = "core-primitives", default-features = false }
moonbeam-primitives-ext = { path = "primitives/ext", default-features = false }
moonbeam-rpc-primitives-debug = { path = "primitives/rpc/debug", default-features = false, features = [
"runtime-3000",
"runtime-3900",
] }
moonbeam-rpc-primitives-txpool = { path = "primitives/rpc/txpool", default-features = false }
storage-proof-primitives = { path = "primitives/storage-proof", default-features = false }
Expand Down Expand Up @@ -236,7 +236,7 @@ substrate-rpc-client = { git = "https://github.com/moonbeam-foundation/polkadot-

# Frontier (wasm)

ethereum = { git = "https://github.com/rust-ethereum/ethereum.git", rev = "3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba", default-features = false, features = [
ethereum = { version = "0.18.2", default-features = false, features = [
"with-scale",
] }
ethereum-types = { version = "0.15.1", default-features = false }
Expand Down Expand Up @@ -360,7 +360,9 @@ nimbus-consensus = { git = "https://github.com/Moonsong-Labs/moonkit", branch =
async-trait = { version = "0.1.42" }
derive_more = "0.99.17"
environmental = { version = "1.1.4", default-features = false }
frame-metadata = { version = "18.0.0", default-features = false, features = ["current"] }
frame-metadata = { version = "18.0.0", default-features = false, features = [
"current",
] }
frame-metadata-hash-extension = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2412", default-features = false }
hex = { version = "0.4.3", default-features = false }
hex-literal = { version = "0.4.1", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion client/rpc-core/debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = { workspace = true }
version = "0.1.0"

[dependencies]
ethereum = { workspace = true, features = [ "with-scale" ] }
ethereum = { workspace = true, features = [ "with-scale", "with-serde" ] }
ethereum-types = { workspace = true, features = [ "std" ] }
jsonrpsee = { workspace = true, features = [ "macros", "server" ] }
moonbeam-client-evm-tracing = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion client/rpc-core/debug/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Moonbeam. If not, see <http://www.gnu.org/licenses/>.

use ethereum::AccessListItem;
use ethereum::{AccessListItem, AuthorizationList};
use ethereum_types::{H160, H256, U256};
use fc_rpc_core::types::Bytes;
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
Expand Down Expand Up @@ -57,6 +57,8 @@ pub struct TraceCallParams {
pub nonce: Option<U256>,
/// EIP-2930 access list
pub access_list: Option<Vec<AccessListItem>>,
/// EIP-7702 authorization list
pub authorization_list: Option<AuthorizationList>,
/// EIP-2718 type
#[serde(rename = "type")]
pub transaction_type: Option<U256>,
Expand Down
Loading
Loading