Skip to content

Commit 388c110

Browse files
authored
Merge branch 'feature/malleability' into jord/json-block-id
2 parents 9ac140b + 2042414 commit 388c110

File tree

88 files changed

+1611
-767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+1611
-767
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ jobs:
295295
runs-on: buildjet-16vcpu-ubuntu-2204
296296
env:
297297
CADENCE_DEPLOY_KEY: ${{ secrets.CADENCE_DEPLOY_KEY }}
298+
# Set the environment based on the author association of the pull request.
299+
# This is used to determine whether the build should be run in an internal or external environment.
300+
# If the author is a member or collaborator, use the internal environment; otherwise, use the external environment that will require approval
301+
environment: ${{ (github.event_name == 'merge_group' || (github.event.pull_request && (github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR'))) && 'internal-ci' || 'external-ci' }}
298302
steps:
299303
- name: Checkout repo
300304
uses: actions/checkout@v4
@@ -314,6 +318,15 @@ jobs:
314318
with:
315319
go-version: ${{ env.GO_VERSION }}
316320
cache: true
321+
322+
- name: Login to Docker Hub
323+
uses: docker/login-action@v3
324+
with:
325+
username: ${{ vars.DOCKERHUB_USERNAME }}
326+
password: ${{ secrets.DOCKERHUB_TOKEN }}
327+
if: ${{ (github.event_name == 'merge_group' || (github.event.pull_request && (github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR'))) }}
328+
329+
317330
- name: Docker build
318331
env:
319332
CADENCE_DEPLOY_KEY: ${{ secrets.CADENCE_DEPLOY_KEY }}

.github/workflows/image_builds.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ jobs:
9393
- name: Setup Google Cloud Authentication
9494
run: gcloud auth configure-docker ${{ env.PRIVATE_REGISTRY_HOST }}
9595

96+
- name: Login to Docker Hub
97+
uses: docker/login-action@v3
98+
with:
99+
username: ${{ vars.DOCKERHUB_USERNAME }}
100+
password: ${{ secrets.DOCKERHUB_TOKEN }}
101+
96102
- name: Execute ${{ matrix.build_command }} command to build and push images
97103
env:
98104
IMAGE_TAG: ${{ inputs.tag }}

cmd/util/cmd/check-storage/evm_account_storage_health_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"github.com/stretchr/testify/require"
99
"golang.org/x/exp/maps"
1010

11+
gethCommon "github.com/ethereum/go-ethereum/common"
1112
"github.com/onflow/atree"
1213
"github.com/onflow/cadence/common"
1314
"github.com/onflow/cadence/interpreter"
1415
"github.com/onflow/cadence/runtime"
15-
gethCommon "github.com/onflow/go-ethereum/common"
1616

1717
"github.com/onflow/flow-go/cmd/util/ledger/util"
1818
"github.com/onflow/flow-go/cmd/util/ledger/util/registers"

0 commit comments

Comments
 (0)