Skip to content

Deploy is failing with replacement transaction underpriced. #1175

@badrogger

Description

@badrogger

Version: 1.12.0-beta.5.

During deploying process the following error appears:

Going to run skale-manager:1.12.0-beta.5 docker container...
rm: cannot remove '/home/ubuntu/skale/devnet/owl/prov/helper-scripts/contracts_data/skale-manager-*': No such file or directory
CMD npx hardhat run migrations/deploy.ts --network custom && cp .openzeppelin/* openzeppelin-artifacts/
skale-manager
1.12.0-beta.5: Pulling from skalenetwork/skale-manager
Digest: sha256:229298a9e421319c47b29c306455b54002971a845316c96dfebab1e994f2fcb0
Status: Image is up to date for skalenetwork/skale-manager:1.12.0-beta.5
docker.io/skalenetwork/skale-manager:1.12.0-beta.5
Downloading compiler 0.8.17
Warning: Contract code size is 24637 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
  --> contracts/test/SchainsInternalMock.sol:28:1:
   |
28 | contract SchainsInternalMock is SchainsInternal, ISchainsInternalMock {
   | ^ (Relevant source part starts here and spans across multiple lines).


Compiled 138 Solidity files successfully (evm targets: london, paris).
Deploy ContractManager
Register ContractManager
Deploy DelegationController
Register DelegationController as DelegationController => 0x00Fc52c3863F0e3b6898Ee89028C72Fb33e90807
Deploy DelegationPeriodManager
Register DelegationPeriodManager as DelegationPeriodManager => 0x704A5b9664eAc230b5d94DbDD7079AD17eE3A7E4
Deploy Distributor
Register Distributor as Distributor => 0x8584D8dBeFfe1E178B7d0Eec666f76a21CcdA5a9
Deploy Punisher
Register Punisher as Punisher => 0x544CA958Fa2D6ff187e3E5D7433CA00ef17DD10d
Deploy SlashingTable
Register SlashingTable as SlashingTable => 0xCdFE44a4056c5b00459be1F31F93dF1442b198D6
Deploy TimeHelpers
Register TimeHelpers as TimeHelpers => 0xcBAc11A87d6900b409F3Be88a9797A1bA5f2184f
Deploy TokenState
Register TokenState as TokenState => 0x89232C67Bdd8347d10cCD8e0faBea0F2cA8dD7b4
Deploy ValidatorService
Register ValidatorService as ValidatorService => 0x6739384C82e2DFFAeC7C59aB3031FeCF86FAA3Cf
Deploy ConstantsHolder
Register ConstantsHolder as ConstantsHolder => 0xD964E152fcBe2F7c65c5E89D670FeDDB0516532e
Deploy Nodes
Warning: Potentially unsafe deployment of contracts/Nodes.sol:Nodes

    You are using the `unsafeAllow.external-library-linking` flag to include external libraries.
    Make sure you have manually checked that the linked libraries are upgrade safe.

Register Nodes as Nodes => 0x87280eBa56D3717Bc63aCdDED3227986A3FEd663
Deploy NodeRotation
Register NodeRotation as NodeRotation => 0x5e5d0b5F35f1EFB1646fbB1d8033B701E2f8dd63
Deploy SchainsInternal
Register SchainsInternal as SchainsInternal => 0x96B827B0a479B06245356e0E355a8Ce969c9CA19
Deploy Schains
Register Schains as Schains => 0x253cfffbe9d502159507eEa314fe09FBd8542D1E
Deploy Decryption
Register Decryption as Decryption => 0xf284780D11A51Df68d8AfD3E58828205ac85dfFa
Deploy ECDH
Register ECDH as ECDH => 0x5D9fcA35a9A364371012a73dA03D58f5ABF874c5
Deploy KeyStorage
Register KeyStorage as KeyStorage => 0xCAeFb2E6f97bF27F451949d617B2AAc69D2B30EF
ProviderError: replacement transaction underpriced
    at HttpProvider.request (/usr/src/manager/node_modules/hardhat/src/internal/core/providers/http.ts:96:21)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async HardhatEthersSigner.sendTransaction (/usr/src/manager/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:125:18)
    at async ContractFactory.deploy (/usr/src/manager/node_modules/ethers/src.ts/contract/factory.ts:111:24)
    at async deployLibrary (/usr/src/manager/node_modules/@skalenetwork/upgrade-tools/src/deploy.ts:18:21)
    at async /usr/src/manager/node_modules/@skalenetwork/upgrade-tools/src/deploy.ts:35:9
    at async Promise.all (index 0)
    at async deployLibraries (/usr/src/manager/node_modules/@skalenetwork/upgrade-tools/src/deploy.ts:33:6)
    at async getContractFactory (/usr/src/manager/node_modules/@skalenetwork/upgrade-tools/src/deploy.ts:122:23)
    at async main (/usr/src/manager/migrations/deploy.ts:101:33)
npm notice
npm notice New major version of npm available! 10.7.0 -> 11.3.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0
npm notice To update run: npm install -g npm@11.3.0
npm notice

Important notes:

  1. Deploy is done using skale-manager container.
  2. Standalone geth is used as ETH mainnet client.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions