Skip to content

Update flow-go to v0.51.0 in Go test suite - #619

Merged
janezpodhostnik merged 2 commits into
masterfrom
janez/update-flow-go-v0.51.0
Sep 25, 2026
Merged

janezpodhostnik merged 2 commits into
masterfrom
janez/update-flow-go-v0.51.0

Conversation

@janezpodhostnik

@janezpodhostnik janezpodhostnik commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Update the flow-go dependency used by the Go integration test suite from the v0.47.0-ledger-service pseudo-version (March 2026) to the v0.51.0 release.

Changes

  • Bump github.com/onflow/flow-go to v0.51.0 in lib/go/test (brings Cadence v1.10.6, atree v0.16.1, flow-go-sdk v1.10.8)
  • Remove the stale go-ethereum => v1.16.8 replace directive, which silently downgraded geth and no longer compiles against flow-go v0.51.0; geth now resolves to v1.17.4
  • Raise the gas limit in TestIDTableUnstakeAllManyDelegators from 2M to 10M: the new metering prices the 2000-delegator registration transaction at ~3.2M computation, just over the old 2M limit. The test already configures the emulator max at 100M
  • Raise the EVM gas limit in testCOAScheduledTransactions from 100k to 300k: Flow CLI v2.18.0 (installed by CI from master) embeds flow-go v0.51.x, which charges EIP-8037 state-creation gas (120 bytes x 1530 = 183600) when a call funds a fresh EOA, so the scheduled call to a fresh address needs ~205k gas. This failure is pre-existing on master with CLI v2.18.0 and unrelated to the Go dependency bump; it was reproduced locally with CLI v2.18.0 and the fix verified against it
  • Bump CI Go version to 1.26 to match the go 1.26.0 directive required by flow-go v0.51.0

make generate, make test, and make ci all pass, with the Cadence suite run against Flow CLI v2.18.0.

- Bump github.com/onflow/flow-go from the v0.47.0-ledger-service
  pseudo-version to v0.51.0 (Cadence v1.10.6, atree v0.16.1,
  flow-go-sdk v1.10.8)
- Remove the stale go-ethereum v1.16.8 replace directive; flow-go
  v0.51.0 resolves go-ethereum v1.17.4 natively
- Raise the gas limit in TestIDTableUnstakeAllManyDelegators from 2M
  to 10M: new metering prices the 2000-delegator registration tx at
  ~3.2M computation, just over the old 2M limit
- Bump CI Go version to 1.26 to match the new go directive required
  by flow-go v0.51.0
Flow CLI v2.18.0 (used by CI) embeds flow-go v0.51.x, which charges
EIP-8037 state-creation gas (120 bytes * 1530 = 183600) when a call
funds a fresh EOA. The scheduled EVM call to a fresh address with a
100000 gas limit now runs out of gas (needs ~204600). Raise the limit
to 300000.
@janezpodhostnik
janezpodhostnik merged commit bbe71ff into master Sep 25, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants