Merge pull request #10987 from simlecode/feat/add-Eip155ChainID
feat: add Eip155ChainID to StateGetNetworkParams
This commit is contained in:
commit
1da18e8058
@ -312,6 +312,7 @@ type NetworkParams struct {
|
|||||||
SupportedProofTypes []abi.RegisteredSealProof
|
SupportedProofTypes []abi.RegisteredSealProof
|
||||||
PreCommitChallengeDelay abi.ChainEpoch
|
PreCommitChallengeDelay abi.ChainEpoch
|
||||||
ForkUpgradeParams ForkUpgradeParams
|
ForkUpgradeParams ForkUpgradeParams
|
||||||
|
Eip155ChainID int
|
||||||
}
|
}
|
||||||
|
|
||||||
type ForkUpgradeParams struct {
|
type ForkUpgradeParams struct {
|
||||||
|
Binary file not shown.
@ -5446,7 +5446,8 @@ Response:
|
|||||||
"UpgradeHyggeHeight": 10101,
|
"UpgradeHyggeHeight": 10101,
|
||||||
"UpgradeLightningHeight": 10101,
|
"UpgradeLightningHeight": 10101,
|
||||||
"UpgradeThunderHeight": 10101
|
"UpgradeThunderHeight": 10101
|
||||||
}
|
},
|
||||||
|
"Eip155ChainID": 123
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -6958,7 +6958,8 @@ Response:
|
|||||||
"UpgradeHyggeHeight": 10101,
|
"UpgradeHyggeHeight": 10101,
|
||||||
"UpgradeLightningHeight": 10101,
|
"UpgradeLightningHeight": 10101,
|
||||||
"UpgradeThunderHeight": 10101
|
"UpgradeThunderHeight": 10101
|
||||||
}
|
},
|
||||||
|
"Eip155ChainID": 123
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1786,6 +1786,7 @@ func (a *StateAPI) StateGetNetworkParams(ctx context.Context) (*api.NetworkParam
|
|||||||
ConsensusMinerMinPower: build.ConsensusMinerMinPower,
|
ConsensusMinerMinPower: build.ConsensusMinerMinPower,
|
||||||
SupportedProofTypes: build.SupportedProofTypes,
|
SupportedProofTypes: build.SupportedProofTypes,
|
||||||
PreCommitChallengeDelay: build.PreCommitChallengeDelay,
|
PreCommitChallengeDelay: build.PreCommitChallengeDelay,
|
||||||
|
Eip155ChainID: build.Eip155ChainId,
|
||||||
ForkUpgradeParams: api.ForkUpgradeParams{
|
ForkUpgradeParams: api.ForkUpgradeParams{
|
||||||
UpgradeSmokeHeight: build.UpgradeSmokeHeight,
|
UpgradeSmokeHeight: build.UpgradeSmokeHeight,
|
||||||
UpgradeBreezeHeight: build.UpgradeBreezeHeight,
|
UpgradeBreezeHeight: build.UpgradeBreezeHeight,
|
||||||
|
Loading…
Reference in New Issue
Block a user