mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
Fixed missing Address in SetCodeAuthorization
This commit is contained in:
parent
e7c71285fa
commit
7d62c570a0
7 changed files with 16 additions and 3 deletions
|
|
@ -2107,6 +2107,7 @@ func newSetCodeAuthorizationsFromChain(authorizations []types.SetCodeAuthorizati
|
||||||
for i, authorization := range authorizations {
|
for i, authorization := range authorizations {
|
||||||
pbAuthorization := &pbeth.SetCodeAuthorization{
|
pbAuthorization := &pbeth.SetCodeAuthorization{
|
||||||
ChainId: authorization.ChainID.Bytes(),
|
ChainId: authorization.ChainID.Bytes(),
|
||||||
|
Address: authorization.Address.Bytes(),
|
||||||
Nonce: authorization.Nonce,
|
Nonce: authorization.Nonce,
|
||||||
V: uint32(authorization.V),
|
V: uint32(authorization.V),
|
||||||
R: normalizeSignaturePoint(authorization.R.Bytes()),
|
R: normalizeSignaturePoint(authorization.R.Bytes()),
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,7 @@
|
||||||
"s": "N9pmx9wBwi0vXsT283fImtj6D4zPzYK3ZFXwBhYmbBA=",
|
"s": "N9pmx9wBwi0vXsT283fImtj6D4zPzYK3ZFXwBhYmbBA=",
|
||||||
"setCodeAuthorizations": [
|
"setCodeAuthorizations": [
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAqqo=",
|
||||||
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
||||||
"chainId": "AQ==",
|
"chainId": "AQ==",
|
||||||
"nonce": "1",
|
"nonce": "1",
|
||||||
|
|
@ -268,23 +269,27 @@
|
||||||
"v": 1
|
"v": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAzMw=",
|
||||||
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
||||||
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
||||||
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM="
|
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAzMw=",
|
||||||
"discarded": true,
|
"discarded": true,
|
||||||
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
||||||
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM=",
|
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM=",
|
||||||
"v": 4
|
"v": 4
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAu7s=",
|
||||||
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
||||||
"nonce": "1",
|
"nonce": "1",
|
||||||
"r": "aZRYP4l48gpWJSypjCxSptjK/kDFXmphIXOrnH6LlKs=",
|
"r": "aZRYP4l48gpWJSypjCxSptjK/kDFXmphIXOrnH6LlKs=",
|
||||||
"s": "HLb0WRaaPuzez2ZbtK39Ch9vZGXNjm5AYg2i8X5MMwg="
|
"s": "HLb0WRaaPuzez2ZbtK39Ch9vZGXNjm5AYg2i8X5MMwg="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAu7s=",
|
||||||
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
||||||
"discarded": true,
|
"discarded": true,
|
||||||
"nonce": "1",
|
"nonce": "1",
|
||||||
|
|
|
||||||
|
|
@ -170,6 +170,7 @@
|
||||||
"s": "UGXb+KJ8dparEBn0Wb2lX5fh1gB2+AiHfowzzmJWOkE=",
|
"s": "UGXb+KJ8dparEBn0Wb2lX5fh1gB2+AiHfowzzmJWOkE=",
|
||||||
"setCodeAuthorizations": [
|
"setCodeAuthorizations": [
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||||
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
||||||
"chainId": "AQ==",
|
"chainId": "AQ==",
|
||||||
"nonce": "4",
|
"nonce": "4",
|
||||||
|
|
|
||||||
|
|
@ -349,6 +349,7 @@
|
||||||
"s": "N9pmx9wBwi0vXsT283fImtj6D4zPzYK3ZFXwBhYmbBA=",
|
"s": "N9pmx9wBwi0vXsT283fImtj6D4zPzYK3ZFXwBhYmbBA=",
|
||||||
"setCodeAuthorizations": [
|
"setCodeAuthorizations": [
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAqqo=",
|
||||||
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
||||||
"chainId": "AQ==",
|
"chainId": "AQ==",
|
||||||
"nonce": "1",
|
"nonce": "1",
|
||||||
|
|
@ -357,23 +358,27 @@
|
||||||
"v": 1
|
"v": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAzMw=",
|
||||||
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
||||||
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
||||||
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM="
|
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAzMw=",
|
||||||
"discarded": true,
|
"discarded": true,
|
||||||
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
"r": "2uP1vwtGC/qSZin0z+PZ2kBZ/xY3445BRUpUUwr4UOc=",
|
||||||
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM=",
|
"s": "HhA+a0fj/u82ZZyD9gMoHso5vGditId+wkZrJcpo4UM=",
|
||||||
"v": 4
|
"v": 4
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAu7s=",
|
||||||
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
||||||
"nonce": "1",
|
"nonce": "1",
|
||||||
"r": "aZRYP4l48gpWJSypjCxSptjK/kDFXmphIXOrnH6LlKs=",
|
"r": "aZRYP4l48gpWJSypjCxSptjK/kDFXmphIXOrnH6LlKs=",
|
||||||
"s": "HLb0WRaaPuzez2ZbtK39Ch9vZGXNjm5AYg2i8X5MMwg="
|
"s": "HLb0WRaaPuzez2ZbtK39Ch9vZGXNjm5AYg2i8X5MMwg="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAu7s=",
|
||||||
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
"authority": "cDxLK9cMFp9XFxAcruVDKZ/JRsc=",
|
||||||
"discarded": true,
|
"discarded": true,
|
||||||
"nonce": "1",
|
"nonce": "1",
|
||||||
|
|
|
||||||
|
|
@ -245,6 +245,7 @@
|
||||||
"s": "UGXb+KJ8dparEBn0Wb2lX5fh1gB2+AiHfowzzmJWOkE=",
|
"s": "UGXb+KJ8dparEBn0Wb2lX5fh1gB2+AiHfowzzmJWOkE=",
|
||||||
"setCodeAuthorizations": [
|
"setCodeAuthorizations": [
|
||||||
{
|
{
|
||||||
|
"address": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||||
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
"authority": "cVYrcZmYc9tbKG35V68ZnslGF/c=",
|
||||||
"chainId": "AQ==",
|
"chainId": "AQ==",
|
||||||
"nonce": "4",
|
"nonce": "4",
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -58,7 +58,7 @@ require (
|
||||||
github.com/rs/cors v1.7.0
|
github.com/rs/cors v1.7.0
|
||||||
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible
|
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible
|
||||||
github.com/status-im/keycard-go v0.2.0
|
github.com/status-im/keycard-go v0.2.0
|
||||||
github.com/streamingfast/firehose-ethereum/types v0.0.0-20250219193809-31f4c76a8a5d
|
github.com/streamingfast/firehose-ethereum/types v0.0.0-20250507011922-e3d3efeda61d
|
||||||
github.com/stretchr/testify v1.10.0
|
github.com/stretchr/testify v1.10.0
|
||||||
github.com/supranational/blst v0.3.14
|
github.com/supranational/blst v0.3.14
|
||||||
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
|
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
|
||||||
|
|
|
||||||
4
go.sum
4
go.sum
|
|
@ -486,8 +486,8 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd
|
||||||
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
|
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
|
||||||
github.com/status-im/keycard-go v0.2.0 h1:QDLFswOQu1r5jsycloeQh3bVU8n/NatHHaZobtDnDzA=
|
github.com/status-im/keycard-go v0.2.0 h1:QDLFswOQu1r5jsycloeQh3bVU8n/NatHHaZobtDnDzA=
|
||||||
github.com/status-im/keycard-go v0.2.0/go.mod h1:wlp8ZLbsmrF6g6WjugPAx+IzoLrkdf9+mHxBEeo3Hbg=
|
github.com/status-im/keycard-go v0.2.0/go.mod h1:wlp8ZLbsmrF6g6WjugPAx+IzoLrkdf9+mHxBEeo3Hbg=
|
||||||
github.com/streamingfast/firehose-ethereum/types v0.0.0-20250219193809-31f4c76a8a5d h1:8Ki6y+B7HB3Wo8DBUqoIpNxT6mGZ/5joPHRZSvLIFdE=
|
github.com/streamingfast/firehose-ethereum/types v0.0.0-20250507011922-e3d3efeda61d h1:UOY/wuuvgunXAeF2mxZFrZXW9djOs02t6Fpw+ABwwBY=
|
||||||
github.com/streamingfast/firehose-ethereum/types v0.0.0-20250219193809-31f4c76a8a5d/go.mod h1:CG22ObinxSbKIP19bAj0uro0a290kzZTiBbjL8VR0SE=
|
github.com/streamingfast/firehose-ethereum/types v0.0.0-20250507011922-e3d3efeda61d/go.mod h1:CG22ObinxSbKIP19bAj0uro0a290kzZTiBbjL8VR0SE=
|
||||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue