Skip to content

Commit

Permalink
Pull hotfix (#172)
Browse files Browse the repository at this point in the history
* Beta release (#72)

* Add proxy v5 support (#163)

* Add proxy v5 support

* Update upgrade-tools
  • Loading branch information
DimaStebaev authored Sep 13, 2024
1 parent ad3b02c commit e44a4f0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions migrations/upgrade.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {AutoSubmitter, Upgrader} from "@skalenetwork/upgrade-tools";
import {Instance, skaleContracts} from "@skalenetwork/skale-contracts-ethers-v6";
import {Submitter, Upgrader} from "@skalenetwork/upgrade-tools";
import {Paymaster} from "../typechain-types";
import {Transaction} from "ethers";
import chalk from "chalk";
Expand Down Expand Up @@ -35,7 +35,7 @@ interface UpgradeContext {
class PaymasterUpgrader extends Upgrader {
constructor(
context: UpgradeContext,
submitter = new AutoSubmitter()
submitter?: Submitter
) {
super(
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@quant-finance/solidity-datetime": "^2.2.0",
"@skalenetwork/paymaster-interfaces": "main",
"@skalenetwork/skale-contracts-ethers-v6": "^1.0.2-develop.0",
"@skalenetwork/upgrade-tools": "3.0.0-develop.13",
"@skalenetwork/upgrade-tools": "3.0.0-develop.21",
"chalk": "^4",
"dotenv": "^16.4.5"
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/test_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ echo "Deploy previous version"
DEPLOY_OUTPUT_FILE="$GITHUB_WORKSPACE/data/deploy.txt"
VERSION=$DEPLOYED_VERSION yarn exec hardhat run migrations/deploy.ts --network localhost > $DEPLOY_OUTPUT_FILE
rm $GITHUB_WORKSPACE/.openzeppelin/unknown-*.json || true
cp .openzeppelin/unknown-*.json $GITHUB_WORKSPACE/.openzeppelin
cp .openzeppelin/unknown-*.json "$GITHUB_WORKSPACE/.openzeppelin/"
PAYMASTER_ADDRESS=$(cat $DEPLOY_OUTPUT_FILE | grep "Paymaster address" | awk '{print $NF}')

cd $GITHUB_WORKSPACE
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1858,9 +1858,9 @@ __metadata:
languageName: node
linkType: hard

"@skalenetwork/upgrade-tools@npm:3.0.0-develop.13":
version: 3.0.0-develop.13
resolution: "@skalenetwork/upgrade-tools@npm:3.0.0-develop.13"
"@skalenetwork/upgrade-tools@npm:3.0.0-develop.21":
version: 3.0.0-develop.21
resolution: "@skalenetwork/upgrade-tools@npm:3.0.0-develop.21"
dependencies:
"@safe-global/api-kit": ^2.4.1
"@safe-global/protocol-kit": ^4.0.1
Expand All @@ -1877,7 +1877,7 @@ __metadata:
"@types/mocha": ^9.1.0
ethers: ^6.7.1
hardhat: ^2.9.9
checksum: a9fc5a674ad69975bbaedd6f4116b5e05e8ba9250f0b6d4283921461abc3949a82900371ac6ca495d06288cb6e734df4a8e938a07ab19da45d2342f0bba2b128
checksum: a50d0ff7acfb9c7e940ee59217733dfad3721a6aeabd2b6427a4cda8a46f3c79ef389227690e156b62d59ede84205cb7f040e04d1b1de85013f05da12037b616
languageName: node
linkType: hard

Expand Down Expand Up @@ -7018,7 +7018,7 @@ __metadata:
"@quant-finance/solidity-datetime": ^2.2.0
"@skalenetwork/paymaster-interfaces": main
"@skalenetwork/skale-contracts-ethers-v6": ^1.0.2-develop.0
"@skalenetwork/upgrade-tools": 3.0.0-develop.13
"@skalenetwork/upgrade-tools": 3.0.0-develop.21
"@typechain/ethers-v6": ^0.5.1
"@typechain/hardhat": ^9.1.0
"@types/chai": ^4.3.11
Expand Down

0 comments on commit e44a4f0

Please sign in to comment.