G7DAO / seer

Apache License 2.0
8 stars 5 forks source link

Call data overwrite of variable in build. #116

Open Andrei-Dolgolev opened 1 day ago

Andrei-Dolgolev commented 1 day ago

build in protocol repo

go build -o bin/game7 ./cmd/game7
# github.com/G7DAO/protocol/bindings/utils/diamonds/Diamond
Error: bindings/utils/diamonds/Diamond/Diamond.go:844:6: calldata redeclared in this block
Error:  bindings/utils/diamonds/Diamond/Diamond.go:842:6: other declaration of calldata
Error: bindings/utils/diamonds/Diamond/Diamond.go:910:9: invalid operation: cannot slice calldata (variable of type bool)
Error: bindings/utils/diamonds/Diamond/Diamond.go:992:5: cannot use calldata (variable of type bool) as []byte value in argument to session.Fallback
# github.com/G7DAO/protocol/bindings/utils/diamonds/DiamondCutFacet
Error: bindings/utils/diamonds/DiamondCutFacet/DiamondCutFacet.go:777:6: calldata redeclared in this block
Error:  bindings/utils/diamonds/DiamondCutFacet/DiamondCutFacet.go:771:6: other declaration of calldata
Error: bindings/utils/diamonds/DiamondCutFacet/DiamondCutFacet.go:869:9: invalid operation: cannot slice calldata (variable of type bool)
Error: bindings/utils/diamonds/DiamondCutFacet/DiamondCutFacet.go:955:5: cannot use calldata (variable of type bool) as []byte value in argument to session.DiamondCut
make: *** [Makefile:10: bin/game7] Error 1
Error: Process completed with exit code 2.