Skip to content

Commit

Permalink
Merge pull request #2618 from onflow/bastian/core-contract-migrations
Browse files Browse the repository at this point in the history
Add addresses for Mainnet to Core Contract state migration
  • Loading branch information
zhangchiqing authored Jun 14, 2022
2 parents 07f6909 + 3953a87 commit fdc7321
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions cmd/util/ledger/migrations/core_contracts_migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,21 @@ func coreContractAddresses(chain flow.Chain) networkAddresses {
stakingProxy: "7aad92e5a0715d21",
}
case flow.Mainnet:
// TODO:
panic("TODO")
return networkAddresses{
fungibleToken: "f233dcee88fe0abe",
flowToken: "1654653399040a61",
contractAudits: "e467b9dd11fa00df",
serviceAccount: "e467b9dd11fa00df",
storageFees: "e467b9dd11fa00df",
fees: "f919ee77447b7497",
qc: "8624b52f9ddcd04a",
epoch: "8624b52f9ddcd04a",
dkg: "8624b52f9ddcd04a",
stakingTable: "8624b52f9ddcd04a",
lockedTokens: "8d0e87b65159ae63",
stakingCollection: "8d0e87b65159ae63",
stakingProxy: "62430cf28c26d095",
}
default:
panic(fmt.Errorf("unsupported chain: %s", chain))
}
Expand Down

0 comments on commit fdc7321

Please sign in to comment.