Skip to content

Commit

Permalink
chore: update contract bytecodes (#440)
Browse files Browse the repository at this point in the history
* chore: update bindings

* chore: nit

* chore: nit

* ci: document issue in case of an ethereum or foundry update

* chore: nit

* ci: bump stringer, protoc and protoc-gen versions

* chore: update pb files
  • Loading branch information
leovct authored Nov 22, 2024
1 parent 8a74ec8 commit 2aaa905
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 21 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ concurrency:

env:
GO_VERSION: "1.22" # https://go.dev/dl/
STRINGER_VERSION: "0.26.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions
STRINGER_VERSION: "0.27.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions
# Protoc dependencies.
PROTOC_VERSION: "28.2" # https://github.com/protocolbuffers/protobuf/releases
PROTOC_GEN_GO_VERSION: "1.35.1" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions
PROTOC_VERSION: "28.3" # https://github.com/protocolbuffers/protobuf/releases
PROTOC_GEN_GO_VERSION: "1.35.2" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions
PROTOC_GEN_GO_GRPC_VERSION: "1.5.1" # https://pkg.go.dev/google.golang.org/grpc/cmd/protoc-gen-go-grpc?tab=versions
ARCH: "linux-x86_64"

Expand Down Expand Up @@ -61,6 +61,7 @@ jobs:
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v${{ env.PROTOC_GEN_GO_GRPC_VERSION }}
protoc-gen-go --version
protoc-gen-go-grpc --version
# Dependencies to generate go bindings.
- name: Install abigen
run: |
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "❌ Error: Generated files are not up to date. Please run \`make gen\`."
echo "🚨 If \`make gen\` doesn't update the contract bytecodes and/or go bindings and this job is still failing, please take a look at the ethereum and foundry versions. We don't pin the versions of these packages in CI so this job may complain after an update of the packages!"
git status --porcelain
git diff
exit 1
Expand Down
2 changes: 1 addition & 1 deletion bindings/funder/Funder.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0x608060405234801561001057600080fd5b506040516105bf3803806105bf83398101604081905261002f91610069565b600081116100585760405162461bcd60e51b815260040161004f90610092565b60405180910390fd5b6000556100e4565b80515b92915050565b60006020828403121561007e5761007e600080fd5b600061008a8484610060565b949350505050565b6020808252810161006381602e81527f5468652066756e64696e6720616d6f756e742073686f756c642062652067726560208201526d61746572207468616e207a65726f60901b604082015260600190565b6104cc806100f36000396000f3fe6080604052600436106100385760003560e01c80632302440814610044578063a4626b8514610066578063aa8c217c1461008657600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b5061006461005f366004610229565b6100b2565b005b34801561007257600080fd5b506100646100813660046102a4565b610185565b34801561009257600080fd5b5061009c60005481565b6040516100a991906102ec565b60405180910390f35b6001600160a01b0381166100e15760405162461bcd60e51b81526004016100d890610355565b60405180910390fd5b6000544710156101035760405162461bcd60e51b81526004016100d8906103ab565b6000816001600160a01b031660005460405161011e906103bb565b60006040518083038185875af1925050503d806000811461015b576040519150601f19603f3d011682016040523d82523d6000602084013e610160565b606091505b50509050806101815760405162461bcd60e51b81526004016100d8906103c3565b5050565b600054610193908290610405565b4710156101b25760405162461bcd60e51b81526004016100d890610470565b60005b818110156101ef576101e78383838181106101d2576101d2610480565b905060200201602081019061005f9190610229565b6001016101b5565b505050565b60006001600160a01b0382165b92915050565b610210816101f4565b811461021b57600080fd5b50565b803561020181610207565b60006020828403121561023e5761023e600080fd5b600061024a848461021e565b949350505050565b60008083601f84011261026757610267600080fd5b50813567ffffffffffffffff81111561028257610282600080fd5b60208301915083602082028301111561029d5761029d600080fd5b9250929050565b600080602083850312156102ba576102ba600080fd5b823567ffffffffffffffff8111156102d4576102d4600080fd5b6102e085828601610252565b92509250509250929050565b81815260208101610201565b603c81526000602082017f5468652066756e64656420616464726573732073686f756c642062652064696681527f666572656e74207468616e20746865207a65726f206164647265737300000000602082015291505b5060400190565b60208082528101610201816102f8565b602981526000602082017f496e73756666696369656e7420636f6e74726163742062616c616e636520666f815268722066756e64696e6760b81b6020820152915061034e565b6020808252810161020181610365565b600081610201565b6020808252810161020181600e81526d119d5b991a5b99c819985a5b195960921b602082015260400190565b634e487b7160e01b600052601160045260246000fd5b81810280821583820485141761041d5761041d6103ef565b5092915050565b602f81526000602082017f496e73756666696369656e7420636f6e74726163742062616c616e636520666f81526e722062617463682066756e64696e6760881b6020820152915061034e565b6020808252810161020181610424565b634e487b7160e01b600052603260045260246000fdfea264697066735822122014b6361a96a0ed451279b4bf8d9433e6e98dc532f9f7608842fa22b6c7813ba664736f6c63430008170033
0x608060405234801561000f575f80fd5b5060405161059438038061059483398101604081905261002e91610066565b5f81116100565760405162461bcd60e51b815260040161004d9061008c565b60405180910390fd5b5f556100de565b80515b92915050565b5f60208284031215610079576100795f80fd5b5f610084848461005d565b949350505050565b6020808252810161006081602e81527f5468652066756e64696e6720616d6f756e742073686f756c642062652067726560208201526d61746572207468616e207a65726f60901b604082015260600190565b6104a9806100eb5f395ff3fe608060405260043610610036575f3560e01c80632302440814610041578063a4626b8514610062578063aa8c217c14610081575f80fd5b3661003d57005b5f80fd5b34801561004c575f80fd5b5061006061005b366004610218565b6100ab565b005b34801561006d575f80fd5b5061006061007c36600461028c565b610178565b34801561008c575f80fd5b506100955f5481565b6040516100a291906102d1565b60405180910390f35b6001600160a01b0381166100da5760405162461bcd60e51b81526004016100d190610339565b60405180910390fd5b5f544710156100fb5760405162461bcd60e51b81526004016100d19061038e565b5f816001600160a01b03165f546040516101149061039e565b5f6040518083038185875af1925050503d805f811461014e576040519150601f19603f3d011682016040523d82523d5f602084013e610153565b606091505b50509050806101745760405162461bcd60e51b81526004016100d1906103a5565b5050565b5f546101859082906103e5565b4710156101a45760405162461bcd60e51b81526004016100d19061044f565b5f5b818110156101e0576101d88383838181106101c3576101c361045f565b905060200201602081019061005b9190610218565b6001016101a6565b505050565b5f6001600160a01b0382165b92915050565b610200816101e5565b811461020a575f80fd5b50565b80356101f1816101f7565b5f6020828403121561022b5761022b5f80fd5b5f610236848461020d565b949350505050565b5f8083601f840112610251576102515f80fd5b50813567ffffffffffffffff81111561026b5761026b5f80fd5b602083019150836020820283011115610285576102855f80fd5b9250929050565b5f80602083850312156102a0576102a05f80fd5b823567ffffffffffffffff8111156102b9576102b95f80fd5b6102c58582860161023e565b92509250509250929050565b818152602081016101f1565b603c81525f602082017f5468652066756e64656420616464726573732073686f756c642062652064696681527f666572656e74207468616e20746865207a65726f206164647265737300000000602082015291505b5060400190565b602080825281016101f1816102dd565b602981525f602082017f496e73756666696369656e7420636f6e74726163742062616c616e636520666f815268722066756e64696e6760b81b60208201529150610332565b602080825281016101f181610349565b5f816101f1565b602080825281016101f181600e81526d119d5b991a5b99c819985a5b195960921b602082015260400190565b634e487b7160e01b5f52601160045260245ffd5b8181028082158382048514176103fd576103fd6103d1565b5092915050565b602f81525f602082017f496e73756666696369656e7420636f6e74726163742062616c616e636520666f81526e722062617463682066756e64696e6760881b60208201529150610332565b602080825281016101f181610404565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122056de11795a01ad6ae90ddaf642fbe18dd9bcfbd5818cef4db59577eb9109586364736f6c63430008170033
2 changes: 1 addition & 1 deletion bindings/funder/funder.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2aaa905

Please sign in to comment.