etclabscore / multi-geth-fork

GNU Lesser General Public License v3.0
3 stars 8 forks source link

(develop): classic chain config at LES protocol includes wrong chts #117

Closed meowsbits closed 4 years ago

meowsbits commented 4 years ago
> admin.nodeInfo
{
...
  name: "MultiGeth/v1.9.7-unstable-bf0a2965-20200108/linux-amd64/go1.13.5",
...
  protocols: {
    eth: {
      config: {
        chainId: 61,
        disposalBlock: 5900000,
        ecip1010Length: 2000000,
        ecip1010PauseBlock: 3000000,
        ecip1017EraRounds: 5000000,
        ecip1017FBlock: 5000000,
        eip100FBlock: 8772000,
        eip1014FBlock: 9573000,
        eip1052FBlock: 9573000,
        eip1108FBlock: 10500839,
        eip1344FBlock: 10500839,
        eip140FBlock: 8772000,
        eip145FBlock: 9573000,
        eip150Block: 2500000,
        eip152FBlock: 10500839,
        eip155Block: 3000000,
        eip160Block: 3000000,
        eip161FBlock: 8772000,
        eip170FBlock: 8772000,
        eip198FBlock: 8772000,
        eip2028FBlock: 10500839,
        eip211FBlock: 8772000,
        eip212FBlock: 8772000,
        eip213FBlock: 8772000,
        eip214FBlock: 8772000,
        eip2200FBlock: 10500839,
        eip2FBlock: 1150000,
        eip658FBlock: 8772000,
        eip7FBlock: 1150000,
        ethash: {},
        networkId: 1,
        requireBlockHashes: {...},
        trustedCheckpoint: null,
        trustedCheckpointOracle: null
      },
      difficulty: 830397369187773200000,
      genesis: "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
      head: "0x761ec0e928df3379063ef37d668d7e653cd2a7335f58aeb6c824f32700050cc1",
      network: 1
    },
    les: {
      cht: {
        bloomRoot: "0xc95f554b35610efe11571e2b1801486c471b155eeb04b462c93d77feb4f26b1c",
        chtRoot: "0xb2ceab13650e5d255cc0760bdb22a9dcb23e7d9ab3bab4976cb04f1d59398746",
        sectionHead: "0x7175df31e8667be2cb5a1ac3d62c5b7428a11625ecc5dfb73a8f80430d5987b8",
        sectionIndex: 290
      },
      config: {
        chainId: 61,
        disposalBlock: 5900000,
        ecip1010Length: 2000000,
        ecip1010PauseBlock: 3000000,
        ecip1017EraRounds: 5000000,
        ecip1017FBlock: 5000000,
        eip100FBlock: 8772000,
        eip1014FBlock: 9573000,
        eip1052FBlock: 9573000,
        eip1108FBlock: 10500839,
        eip1344FBlock: 10500839,
        eip140FBlock: 8772000,
        eip145FBlock: 9573000,
        eip150Block: 2500000,
        eip152FBlock: 10500839,
        eip155Block: 3000000,
        eip160Block: 3000000,
        eip161FBlock: 8772000,
        eip170FBlock: 8772000,
        eip198FBlock: 8772000,
        eip2028FBlock: 10500839,
        eip211FBlock: 8772000,
        eip212FBlock: 8772000,
        eip213FBlock: 8772000,
        eip214FBlock: 8772000,
        eip2200FBlock: 10500839,
        eip2FBlock: 1150000,
        eip658FBlock: 8772000,
        eip7FBlock: 1150000,
        ethash: {},
        networkId: 1,
        requireBlockHashes: {...},
        trustedCheckpoint: null,
        trustedCheckpointOracle: null
      },
      difficulty: 830397369187773200000,
      genesis: "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
      head: "0x761ec0e928df3379063ef37d668d7e653cd2a7335f58aeb6c824f32700050cc1",
      network: 1
    }
  }
}
meowsbits commented 4 years ago

Fixed via #118 -> #82