This commit is contained in:
colinlyguo 2025-02-20 20:45:00 +08:00
parent 6139430ed7
commit 1d5cae80d0
No known key found for this signature in database
GPG Key ID: 82E123BE1B68288B
1 changed files with 1 additions and 1 deletions

View File

@ -4212,7 +4212,7 @@ func TestEIP7702(t *testing.T) {
// The way the auths are combined, it becomes // The way the auths are combined, it becomes
// 1. tx -> addr1 which is delegated to 0xaaaa // 1. tx -> addr1 which is delegated to 0xaaaa
// 2. addr1:0xaaaa calls into addr2:0xbbbb // 2. addr1:0xaaaa calls into addr2:0xbbbb
// 3. addr2:0xbbbb writes to storage // 3. addr2:0xbbbb writes to storage
auth1, _ := types.SignSetCode(key1, types.SetCodeAuthorization{ auth1, _ := types.SignSetCode(key1, types.SetCodeAuthorization{
ChainID: *uint256.MustFromBig(gspec.Config.ChainID), ChainID: *uint256.MustFromBig(gspec.Config.ChainID),
Address: aa, Address: aa,