Skip to content

Conversation

@fedgiac
Copy link
Contributor

@fedgiac fedgiac commented May 12, 2025

Description

As per new network deployment guide, this PR cherry picks the latest changes on main so that the new addresses can be included in the Node package.

This PR contains:

  1. copied code from main; generated with:
    git cherry-pick f8e4bcb
    git cherry-pick 8930d74
    git cherry-pick 08f8627

  2. Version bump for actions/cache@v2. GitHub refuses to run the code without this bump.

    Error

    Link to failing run.

    This request has been automatically failed because it uses a deprecated version of actions/cache: v2. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

    Migration instructions (nothing to do): Deprecation Notice - Upgrade to latest before February 1st 2025 actions/cache#1510

  3. Version bump of our NPM package version.

Test Plan

Validate the version bump. Try to cherry pick locally and confirm that the code is the same.

fleupold and others added 4 commits May 12, 2025 14:31
Remove ORG_TOKEN
## Description
Add support for the following networks: BSC, Avalanche, Polygon and
Optimism.

## Related Issues
I could only verify BSC contracts. @fedgiac please could you take a look
into it? 🙏
## Description

Add the necessary configuration lines for allowing contract verification
on the Block explorers of the networks introduced in #239.
BNB was already verified. Optimism and Polygon just worked out of the
box. Avalanche defaults to [Snowtrace](https://snowtrace.io/), so I had
to include a custom configuration for that network in order to use
[SnowScan](https://snowscan.xyz/) and used:

```sh
npx hardhat verify --network avalanche 0x9E7Ae8Bdba9AA346739792d219a808884996Db67
npx hardhat verify --network avalanche 0x9008D19f58AAbD9eD0D60971565AA8510560ab41 0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE 0xBA12222222228d8Ba445958a75a0704d566BF2C8
```

I also enabled Sourcify because why not?

## Test Plan

Check out the contract addresses on the block explorer.

---------

Co-authored-by: Mateo <[email protected]>
@fedgiac fedgiac requested a review from mateo-mro May 12, 2025 14:42
Error message from GitHub:

> Error: This request has been automatically failed because it uses a deprecated version of `actions/cache: v2`. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

Migration instructions (nothing to do):

actions/cache#1510
@fedgiac fedgiac merged commit 53729a7 into v1 May 13, 2025
4 of 5 checks passed
@fedgiac fedgiac deleted the v1-cherry-pick-new-deployments branch May 13, 2025 08:53
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants