Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .github/workflows/ci.canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,41 +273,3 @@ jobs:
s3_uri: ${{ format('{0}sdk-redux@dev', secrets.SITE_DEPLOYER_AWS_S3_DOCS_URI) }}
cloudfront_distribution_id: E3JEO5R14CT8IH

upgrade-contracts:
name: Upgrade ethereum-contracts on canary testnet (protocol release version "canary")

if: false # disable this for now

needs: [all-packages-tested]

runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
network: [optimism-sepolia]

defaults:
run:
shell: nix develop .#ci-default -c bash -xe {0}

steps:
- uses: actions/checkout@v4

- uses: DeterminateSystems/nix-installer-action@v13

- name: Build
run: |
yarn install --frozen-lockfile
yarn build

- name: Deploy to ${{ matrix.network }}
run: |
cd packages/ethereum-contracts
npx truffle exec --network ${{ matrix.network }} ops-scripts/deploy-test-environment.js
npx truffle exec --network ${{ matrix.network }} ops-scripts/info-print-contract-addresses.js : addresses.vars
tasks/etherscan-verify-framework.sh ${{ matrix.network }} addresses.vars
env:
RELEASE_VERSION: canary
OPTIMISM_SEPOLIA_MNEMONIC: ${{ secrets.BUILD_AGENT_MNEMONIC }}
OPTIMISM_SEPOLIA_PROVIDER_URL: ${{ secrets.OPTIMISM_SEPOLIA_PROVIDER_URL }}
8 changes: 8 additions & 0 deletions .syncpackrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ versionGroups:
dependencies:
- "stack-trace"
pinVersion: "0.0.10"
- label: Pin hardhat due to a bug during deployment of contracts
dependencies:
- "hardhat"
pinVersion: "2.27.2"
- label: Pin hardhat-ethers due to it will require hardhat@^2.28.x
dependencies:
- "@nomicfoundation/hardhat-ethers"
pinVersion: "3.1.2"
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,44 @@
"version": "0.0.0",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-ethers": "^3.1.0",
"@nomicfoundation/hardhat-verify": "^2.1.1",
"@nomiclabs/hardhat-web3": "^2.1.0",
"@nomicfoundation/hardhat-ethers": "3.1.2",
"@nomicfoundation/hardhat-verify": "^2.1.3",
"@nomiclabs/hardhat-web3": "^2.1.2",
"@openzeppelin/test-helpers": "^0.5.16",
"@truffle/hdwallet-provider": "^2.1.15",
"@typechain/ethers-v5": "^11.1.2",
"@typechain/hardhat": "^9.1.0",
"@types/lodash": "^4.17.7",
"@types/mocha": "^10.0.7",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@types/lodash": "^4.17.23",
"@types/mocha": "^10.0.10",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"cloc": "^2.11.0",
"copyfiles": "^2.4.1",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"dotenv": "^16.6.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.2.1",
"hardhat": "^2.26.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.5",
"hardhat": "2.27.2",
"hardhat-deploy": "^1.0.4",
"husky": "^9.1.5",
"lerna": "^8.1.8",
"node-jq": "^6.0.1",
"nodemon": "^3.1.4",
"husky": "^9.1.7",
"lerna": "^8.2.4",
"node-jq": "^6.3.1",
"nodemon": "^3.1.11",
"npm-run-all": "^4.1.5",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"prettier-eslint": "^16.3.0",
"solhint": "^6.0.2",
"syncpack": "^13.0.0",
"nyc": "^17.1.0",
"prettier": "^3.8.1",
"prettier-eslint": "^16.4.2",
"solhint": "^6.0.3",
"syncpack": "^13.0.4",
"truffle": "^5.11.5",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typedoc": "^0.26.6",
"typescript": "^5.5.4",
"typedoc": "^0.28.16",
"typescript": "^5.9.3",
"web3": "^1.10.4",
"graphql": "^16.9.0"
"graphql": "^16.12.0"
},
"license": "MIT",
"npmClient": "yarn",
Expand Down
1 change: 1 addition & 0 deletions packages/ethereum-contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

- EVM target changed from _shanghai_ to _cancun_.
- Update solhint to v6.
- Updated to "hardhat@2.27.2".

## [v1.14.1]

Expand Down
1 change: 0 additions & 1 deletion packages/ethereum-contracts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
./hardhat.config.ts
./foundry.toml
./tsconfig.json
./tsconfig.scripts.json
];
};
}
9 changes: 4 additions & 5 deletions packages/ethereum-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
"@truffle/contract": "4.6.31",
"ethereumjs-tx": "2.1.2",
"ethereumjs-util": "7.1.5",
"hardhat": "2.26.1"
"hardhat": "2.27.2"
},
"devDependencies": {
"@d10r/truffle-plugin-verify": "^0.7.2",
"@nomiclabs/hardhat-truffle5": "^2.1.0",
"@nomiclabs/hardhat-truffle5": "^2.1.2",
"@safe-global/safe-core-sdk": "^3.3.5",
"@safe-global/safe-service-client": "^2.0.3",
"@safe-global/safe-web3-lib": "^1.9.4",
"@superfluid-finance/js-sdk": "^0.6.3",
"@superfluid-finance/metadata": "^1.6.2",
"async": "^3.2.6",
"csv-writer": "^1.6.0",
"ethers": "^5.7.2",
"mochawesome": "^7.1.3",
"ethers": "^5.8.0",
"mochawesome": "^7.1.4",
"readline": "^1.3.0",
"solidity-coverage": "^0.8.17",
"solidity-docgen": "^0.6.0-beta.36",
Expand Down Expand Up @@ -73,7 +73,6 @@
"build:contracts:foundry": "yarn run-foundry build",
"build:post-contracts": "run-p -l build:post-contracts:*",
"build:post-contracts:abi-bundle": "tasks/build-bundled-abi.sh",
"build:post-contracts:dev-scripts-typings": "rm -rf dev-scripts/*.d.ts dev-scripts/*.d.ts.map; tsc -p tsconfig.scripts.json",
"build:post-contracts:contracts-size": "forge build --sizes --skip test --skip script > build/contracts-sizes.txt",
"verify-framework": "tasks/etherscan-verify-framework.sh",
"testenv:start": "test/testenv-ctl.sh start",
Expand Down
24 changes: 0 additions & 24 deletions packages/ethereum-contracts/tsconfig.scripts.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/js-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"devDependencies": {
"@superfluid-finance/ethereum-contracts": "^1.14.1",
"chai-as-promised": "^8.0.0",
"webpack": "^5.94.0",
"chai-as-promised": "^8.0.2",
"webpack": "^5.104.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
"@superfluid-finance/ethereum-contracts": "1.14.1",
"@superfluid-finance/metadata": "^1.6.2",
"graphql-request": "6.1.0",
"lodash": "4.17.21",
"lodash": "4.17.23",
"tsify": "5.0.4"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
"@graphql-codegen/cli": "^5.0.7",
"@graphql-codegen/near-operation-file-preset": "^3.1.0",
"@graphql-typed-document-node/core": "^3.2.0",
"ajv": "^8.17.1",
"browserify": "^17.0.1",
"ethers": "^5.7.2",
"ethers": "^5.8.0",
"get-graphql-schema": "^2.1.2",
"mocha": "^10.7.3"
"mocha": "^10.8.2"
},
"engines": {
"node": ">=12"
Expand Down
Loading
Loading