Skip to content

Commit

Permalink
fix: use static predeploy ca in validator logic
Browse files Browse the repository at this point in the history
  • Loading branch information
leeren committed Oct 4, 2024
1 parent aa3aba6 commit 493ebfe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/cmd/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/joho/godotenv"
"github.com/spf13/cobra"

"github.com/piplabs/story/client/genutil/evm/predeploys"
"github.com/piplabs/story/lib/errors"

_ "embed"
Expand Down Expand Up @@ -84,11 +85,11 @@ type exportKeyConfig struct {

var contracts = map[ContractType]ContractInfo{
STAKING: {
AddressHex: "0xCCcCcC0000000000000000000000000000000001",
AddressHex: predeploys.IPTokenStaking,
ABI: ipTokenStakingABI,
},
SLASHING: {
AddressHex: "0xcccccc0000000000000000000000000000000002",
AddressHex: predeploys.IPTokenSlashing,
ABI: ipTokenSlashingABI,
},
}
Expand Down

0 comments on commit 493ebfe

Please sign in to comment.