Skip to content

Commit

Permalink
Update statetest_loader to match ethereum/execution-spec-tests#733
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobacz authored and gumb0 committed Aug 29, 2024
1 parent 8a89524 commit 0a87040
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/statetest/statetest_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ state::AuthorizationList from_json<state::AuthorizationList>(const json::json& j
state::Authorization authorization{};
authorization.chain_id = from_json<uint64_t>(a.at("chainId"));
authorization.addr = from_json<address>(a.at("address"));
// TODO: this is current spec, but EEST still has nonce as a list, let's pick the first item
// authorization.nonce = from_json<uint64_t>(a.at("nonce"));
authorization.nonce = from_json<uint64_t>(a.at("nonce")[0]);
authorization.nonce = from_json<uint64_t>(a.at("nonce"));
authorization.signer = from_json<address>(a.at("signer"));
authorization.r = from_json<intx::uint256>(a.at("r"));
authorization.s = from_json<intx::uint256>(a.at("s"));
Expand Down

0 comments on commit 0a87040

Please sign in to comment.