You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading abigen from 1.9.10-stable to 1.9.18-stable I can no longer generate contracts code:
/Users/piotr/go/pkg/mod/github.com/keep-network/[email protected]/tools/generators/ethereum/contract_parsing.go:154:12: method.Const undefined (type abi.Method has no field or method Const)
/Users/piotr/go/pkg/mod/github.com/keep-network/[email protected]/tools/generators/ethereum/contract_parsing.go:167:24: param.Type.Type undefined (type abi.Type has no field or method Type)
/Users/piotr/go/pkg/mod/github.com/keep-network/[email protected]/tools/generators/ethereum/contract_parsing.go:202:26: output.Type.Type undefined (type abi.Type has no field or method Type)
/Users/piotr/go/pkg/mod/github.com/keep-network/[email protected]/tools/generators/ethereum/contract_parsing.go:215:42: method.Outputs[0].Type.Type undefined (type abi.Type has no field or method Type)
/Users/piotr/go/pkg/mod/github.com/keep-network/[email protected]/tools/generators/ethereum/contract_parsing.go:232:12: method.Const undefined (type abi.Method has no field or method Const)
/Users/piotr/go/pkg/mod/github.com/keep-network/[email protected]/tools/generators/ethereum/contract_parsing.go:251:24: param.Type.Type undefined (type abi.Type has no field or method Type)
make: *** [contract/TokenStaking.go] Error 2
pkg/chain/gen/contract.go:3: running "sh": exit status 2
The text was updated successfully, but these errors were encountered:
Repair lcl-initialize script
The sortition pool creation logic in lcl-initialize.js script, didn't consider a case when getSortitionPool
method returned a zero address.
It is a workaround for ethereum/go-ethereum#21083 - instead of failing,
contract call returns address 0x0. Once we are able to update to the most recent abigen
see keep-network/keep-common#45), the additional case for 0x0 address
should be removed.
After upgrading abigen from
1.9.10-stable
to1.9.18-stable
I can no longer generate contracts code:The text was updated successfully, but these errors were encountered: