Skip to content

Commit

Permalink
Merge pull request #413 from oasisprotocol/mitjat/testnet-config-chai…
Browse files Browse the repository at this point in the history
…ncontexts

testnet config: Add expected chain contexts
  • Loading branch information
mitjat authored May 10, 2023
2 parents 63023bb + e5aaa18 commit c9e6dca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,11 @@ var DefaultChains = map[common.ChainName]*History{
},
common.ChainNameTestnet: {
Records: []*Record{
// TODO: coalesce compatible records
// TODO: fill in chain context
{
// https://github.com/oasisprotocol/testnet-artifacts/releases/tag/2022-03-03
ArchiveName: "2022-03-03",
GenesisHeight: 8535081,
ChainContext: "50304f98ddb656620ea817cc1446c401752a05a249b36c9b90dba4616829977a",
RuntimeStartRounds: map[common.Runtime]uint64{
common.RuntimeCipher: 1675996,
common.RuntimeEmerald: 398623,
Expand All @@ -144,6 +143,7 @@ var DefaultChains = map[common.ChainName]*History{
// https://github.com/oasisprotocol/testnet-artifacts/releases/tag/2021-04-13
ArchiveName: "2021-04-13",
GenesisHeight: 3398334,
ChainContext: "5ba68bc5e01e06f755c4c044dd11ec508e4c17f1faf40c0e67874388437a9e55",
RuntimeStartRounds: map[common.Runtime]uint64{
common.RuntimeCipher: 0,
common.RuntimeEmerald: 0,
Expand All @@ -153,21 +153,25 @@ var DefaultChains = map[common.ChainName]*History{
// https://github.com/oasisprotocol/testnet-artifacts/releases/tag/2021-03-24
ArchiveName: "2021-03-24",
GenesisHeight: 3076800,
ChainContext: "TODO-UNKNOWN",
},
{
// https://github.com/oasisprotocol/testnet-artifacts/releases/tag/2021-02-03
ArchiveName: "2021-02-03",
GenesisHeight: 2284801,
ChainContext: "TODO-UNKNOWN",
},
{
// https://github.com/oasisprotocol/testnet-artifacts/releases/tag/2020-11-04
ArchiveName: "2020-11-04",
GenesisHeight: 811055,
ChainContext: "TODO-UNKNOWN",
},
{
// https://github.com/oasisprotocol/testnet-artifacts/releases/tag/2020-09-15
ArchiveName: "2020-09-15",
GenesisHeight: 1,
ChainContext: "TODO-UNKNOWN",
},
},
},
Expand Down

0 comments on commit c9e6dca

Please sign in to comment.