Skip to content

Commit

Permalink
Update the PolygonValidiumEtrog smart contract to be aligned with f…
Browse files Browse the repository at this point in the history
…ork id 8 (#71)
  • Loading branch information
Stefan-Ethernal authored Mar 26, 2024
1 parent 76e236e commit fc6c4bf
Show file tree
Hide file tree
Showing 23 changed files with 6,103 additions and 26 deletions.
4 changes: 2 additions & 2 deletions etherman/etherman.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"math/big"

"github.com/0xPolygon/cdk-data-availability/config"
"github.com/0xPolygon/cdk-data-availability/etherman/smartcontracts/polygondatacommittee"
"github.com/0xPolygon/cdk-data-availability/etherman/smartcontracts/polygonvalidium"
"github.com/0xPolygon/cdk-data-availability/etherman/smartcontracts/etrog/polygondatacommittee"
"github.com/0xPolygon/cdk-data-availability/etherman/smartcontracts/etrog/polygonvalidium"
"github.com/0xPolygon/cdk-data-availability/log"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
Expand Down
10 changes: 7 additions & 3 deletions etherman/smartcontracts/abigen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ set -e

gen() {
local package=$1
local forkName=$2

abigen --bin bin/${package}.bin --abi abi/${package}.abi --pkg=${package} --out=${package}/${package}.go
abigen --bin ${forkName}/bin/${package}.bin --abi ${forkName}/abi/${package}.abi --pkg=${package} --out=${forkName}/${package}/${package}.go
}

gen polygonvalidium
gen polygondatacommittee
gen polygonvalidium etrog
gen polygondatacommittee etrog

gen polygonvalidium elderberry
gen polygondatacommittee elderberry
Loading

0 comments on commit fc6c4bf

Please sign in to comment.