Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update truffle config #1881

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"contract:deploy": "npm run deploy",
"build": "truffle compile",
"postbuild": "npm --prefix frontend/ run setup-app-config && node scripts/generate-ts-from-abis.js && npm run restore-all-networks",
"restore-all-networks": "run-s \"restore-networks 56\" \"restore-networks 97\" \"restore-networks 128\" \"restore-networks 256\" \"restore-networks 65\" \"restore-networks 66\" \"restore-networks 137\" \"restore-networks 80001\" \"restore-networks 43114\" \"restore-networks 43113\" \"restore-networks 1313161554\" \"restore-networks 1313161555\" \"restore-networks 2221\" \"restore-networks 2222\" \"restore-networks 2433657680876851\" \"restore-networks 1026062157\" \"restore-networks 52\" \"restore-networks 53\" \"restore-networks 83\" \"restore-networks 82\"",
"restore-all-networks": "run-s \"restore-networks 56\" \"restore-networks 97\" \"restore-networks 128\" \"restore-networks 256\" \"restore-networks 65\" \"restore-networks 66\" \"restore-networks 137\" \"restore-networks 80001\" \"restore-networks 43114\" \"restore-networks 43113\" \"restore-networks 1313161554\" \"restore-networks 1313161555\" \"restore-networks 2221\" \"restore-networks 2222\" \"restore-networks 876757986\" \"restore-networks 1026062157\" \"restore-networks 52\" \"restore-networks 53\" \"restore-networks 83\" \"restore-networks 82\"",
"test": "truffle test",
"test:local": "hardhat test",
"deploy": "truffle migrate --reset",
Expand All @@ -72,7 +72,7 @@
"deploy-kavatestnet": "truffle migrate --network kavatestnet",
"postdeploy-kavatestnet": "run-s \"backup-networks 2221\" \"verify-contracts -- --network kavatestnet\"",
"deploy-skaletestnet": "truffle migrate --network skaletestnet",
"postdeploy-skaletestnet": "run-s \"backup-networks 2433657680876851\" \"verify-contracts -- --network skaletestnet\"",
"postdeploy-skaletestnet": "run-s \"backup-networks 876757986\" \"verify-contracts -- --network skaletestnet\"",
"deploy-coinextestnet": "truffle migrate --network coinextestnet",
"postdeploy-coinextestnet": "run-s \"backup-networks 53\" \"verify-contracts -- --network coinextestnet\"",
"deploy-metertestnet": "truffle migrate --network metertestnet",
Expand Down
4 changes: 2 additions & 2 deletions truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,10 @@ module.exports = {
process.env.SKALE_TESTNET_PRIVATE_KEY,
process.env.SKALE_TESTNET_WALLET_MNEMONIC,
{
providerOrUrl: process.env.SKALE_TESTNET_RPC_URL || 'https://staging-v2.skalenodes.com/v1/glamorous-grumium'
providerOrUrl: process.env.SKALE_TESTNET_RPC_URL || 'https://staging-v3.skalenodes.com/v1/staging-lost-likely-aludra'
}
)),
network_id: 2433657680876851,
network_id: 876757986,
gasPrice: 0,
timeoutBlocks: 200,
skipDryRun: true
Expand Down