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

Transaction Underpriced #406

Open
MohammadJamali opened this issue Oct 22, 2024 · 3 comments
Open

Transaction Underpriced #406

MohammadJamali opened this issue Oct 22, 2024 · 3 comments
Labels
Type: Bug Something isn't working

Comments

@MohammadJamali
Copy link

MohammadJamali commented Oct 22, 2024

Describe the bug
ocean-contracts has problem processing response in the Deploying USDC MOC phase:

To Reproduce

└─$ cat compose-files/ganache.yml 
services:
  ganache:
    image: trufflesuite/ganache:latest
    ports:
      - 8545:8545
    networks:
      backend:
        ipv4_address: 172.15.0.3
    entrypoint: ["node","/app/dist/node/cli.js","--database.dbPath", "./ganache_cache","--chain.allowUnlimitedContractSize","true","--chain.chainId","0x2324","--chain.networkId","0x2324","-a","20","-l","50000000","-g","1","--chain.hardfork","london","--miner.blockTime","1","--miner.instamine","strict","--wallet.mnemonic","taxi music thumb unique chat sand crew more leg another off lamp", "-e","1000000"]
                                                                                                                                   
└─$ cat compose-files/network_volumes.yml 
networks:
  backend:
    driver: bridge
    ipam:
      driver: default
      config:
        - subnet: 172.15.0.0/24
     
└─$ cat compose-files/ocean_contracts.yml 
services:
  ocean-contracts:
    image: oceanprotocol/ocean-contracts:v2.2.0
    networks:
      backend:
        ipv4_address: 172.15.0.14
    environment:
      MNEMONIC: taxi music thumb unique chat sand crew more leg another off lamp
      OWNER_ROLE_ADDRESS: 
      DEPLOY_CONTRACTS: true
      LOCAL_CONTRACTS: true
      REUSE_DATABASE: 
      DATABASE_PATH: "/ganache-db"
      NETWORK_NAME: development
      NETWORK_RPC_HOST: 172.15.0.3
      NETWORK_RPC_PORT: 8545
      NETWORK_RPC_URL: http://172.15.0.3:8545
      LOCAL_USER_ID: 0
      LOCAL_GROUP_ID: 0
      ADDRESS_FILE: /ocean-contracts/artifacts/address.json
    depends_on:
      - ganache
    volumes:
    - /root/foundation/ocean/ocean-contracts/artifacts:/ocean-contracts/artifacts/
sudo docker compose -f compose-files/network_volumes.yml -f compose-files/ganache.yml -f compose-files/ocean_contracts.yml --project-name=ocean up --remove-orphans

Outputs

[+] Running 2/0
 ✔ Container ocean-ganache-1          Created                                                                                                                    0.0s 
 ✔ Container ocean-ocean-contracts-1  Recreated                                                                                                                  0.1s 
Attaching to ganache-1, ocean-contracts-1
ocean-contracts-1  | deploy contracts is true
ganache-1          | ganache v7.9.2 (@ganache/cli: 0.10.2, @ganache/core: 0.10.2)
ganache-1          | Starting RPC server
ganache-1          | (node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
ganache-1          | (Use `node --trace-deprecation ...` to show where the warning was created)
ganache-1          | 
ganache-1          | Available Accounts
ganache-1          | ==================
ganache-1          | (0) 0xe2DD09d719Da89e5a3D0F2549c7E24566e947260 (1000000 ETH)
ganache-1          | (1) 0xBE5449a6A97aD46c8558A3356267Ee5D2731ab5e (1000000 ETH)
ganache-1          | (2) 0xA78deb2Fa79463945C247991075E2a0e98Ba7A09 (1000000 ETH)
ganache-1          | (3) 0x02354A1F160A3fd7ac8b02ee91F04104440B28E7 (1000000 ETH)
ganache-1          | (4) 0xe17D2A07EFD5b112F4d675ea2d122ddb145d117B (1000000 ETH)
ganache-1          | (5) 0xA32C84D2B44C041F3a56afC07a33f8AC5BF1A071 (1000000 ETH)
ganache-1          | (6) 0xFF3fE9eb218EAe9ae1eF9cC6C4db238B770B65CC (1000000 ETH)
ganache-1          | (7) 0x529043886F21D9bc1AE0feDb751e34265a246e47 (1000000 ETH)
ganache-1          | (8) 0xe08A1dAe983BC701D05E492DB80e0144f8f4b909 (1000000 ETH)
ganache-1          | (9) 0xbcE5A3468386C64507D30136685A99cFD5603135 (1000000 ETH)
ganache-1          | (10) 0xee59A16d95042e1B252d4598e2e503837a52eCb1 (1000000 ETH)
ganache-1          | (11) 0x320608cEB9B40fC5a77596CCad2E0B35659fbb2C (1000000 ETH)
ganache-1          | (12) 0x675003EF9a381Edb5bA2A954eD4b15037C602A2d (1000000 ETH)
ganache-1          | (13) 0x18041C71fCD4c913ca8FEcc56baFe26067542444 (1000000 ETH)
ganache-1          | (14) 0xC13434Bddf1Afb7Efa9d3A830778475A12A9e57c (1000000 ETH)
ganache-1          | (15) 0x4f81423DC72Ea9AE39E539E4e5E9e7e8bAA9Da56 (1000000 ETH)
ganache-1          | (16) 0x8731D4E6b5988ddF5a224F84fF22B79059612E3d (1000000 ETH)
ganache-1          | (17) 0x1cF006B1D8802eC6806ECAb9b34724f1269736c2 (1000000 ETH)
ganache-1          | (18) 0xB86d5bA61C85CBEd834f6f5723845e628a1c9EB0 (1000000 ETH)
ganache-1          | (19) 0x0c076c170D6eD68877DD601895FBFC94CA6e78Bd (1000000 ETH)
ganache-1          | 
ganache-1          | Private Keys
ganache-1          | ==================
ganache-1          | (0) 0xc594c6e5def4bab63ac29eed19a134c130388f74f019bc74b8f4389df2837a58
ganache-1          | (1) 0xef4b441145c1d0f3b4bc6d61d29f5c6e502359481152f869247c7a4244d45209
ganache-1          | (2) 0x5d75837394b078ce97bc289fa8d75e21000573520bfa7784a9d28ccaae602bf8
ganache-1          | (3) 0x8467415bb2ba7c91084d932276214b11a3dd9bdb2930fefa194b666dd8020b99
ganache-1          | (4) 0x1f990f8b013fc5c7955e0f8746f11ded231721b9cf3f99ff06cdc03492b28090
ganache-1          | (5) 0x732fbb7c355aa8898f4cff92fa7a6a947339eaf026a08a51f171199e35a18ae0
ganache-1          | (6) 0x8683d6511213ac949e093ca8e9179514d4c56ce5ea9b83068f723593f913b1ab
ganache-1          | (7) 0x1d751ded5a32226054cd2e71261039b65afb9ee1c746d055dd699b1150a5befc
ganache-1          | (8) 0xfd5c1ccea015b6d663618850824154a3b3fb2882c46cefb05b9a93fea8c3d215
ganache-1          | (9) 0x1263dc73bef43a9da06149c7e598f52025bf4027f1d6c13896b71e81bb9233fb
ganache-1          | (10) 0x946f336bed9c09570f80baaef3444e41d89d75e18248244c152b55150d06a854
ganache-1          | (11) 0x963febc9b1dbd5d68c995d3c953ce72f990536a35dfea1bf5a8a3af5564e1775
ganache-1          | (12) 0x4ed947ad7e139926e31a6442d55b2e99d141f97f46151a8769d57f514f3db868
ganache-1          | (13) 0xa50c16d96ed01ac8f967b77b01b1fa94f751c4c600b564fd770e239ebd7d869d
ganache-1          | (14) 0xa077e65b32ea3c2be8d13614598a7add87796214286247156410099724438a04
ganache-1          | (15) 0xf578ac75c300d732bb988da0aca2f06ced94ee8679e234801859fec1ceffc4f9
ganache-1          | (16) 0x38b1963fe035d45033d2cb69cc797f2daf1895a9e9048d76cfac6533208dad2f
ganache-1          | (17) 0x2034d96c6ba984ba1501c41c1069ddb2de36f5eacab66c15529d07e5cce66ada
ganache-1          | (18) 0xd7df5bf642f846aeb7af59d6db1ffca90dca23a2957e6570524ff1c7be2abd2b
ganache-1          | (19) 0x02b92df6aa7fb96ffec30d370c7e83640d1a4b8aab7aa71fd8af95c36a45fd75
ganache-1          | 
ganache-1          | HD Wallet
ganache-1          | ==================
ganache-1          | Mnemonic:      taxi music thumb unique chat sand crew more leg another off lamp
ganache-1          | Base HD Path:  m/44'/60'/0'/0/{account_index}
ganache-1          | 
ganache-1          | Default Gas Price
ganache-1          | ==================
ganache-1          | 1
ganache-1          | 
ganache-1          | BlockGas Limit
ganache-1          | ==================
ganache-1          | 50000000
ganache-1          | 
ganache-1          | Call Gas Limit
ganache-1          | ==================
ganache-1          | 50000000
ganache-1          | 
ganache-1          | Chain
ganache-1          | ==================
ganache-1          | Hardfork: london
ganache-1          | Id:       8996
ganache-1          | 
ganache-1          | RPC Listening on 0.0.0.0:8545
ocean-contracts-1  | An unexpected error occurred:
ocean-contracts-1  | 
ocean-contracts-1  | [Error: EBUSY: resource busy or locked, rmdir '/ocean-contracts/artifacts'] {
ocean-contracts-1  |   errno: -16,
ocean-contracts-1  |   code: 'EBUSY',
ocean-contracts-1  |   syscall: 'rmdir',
ocean-contracts-1  |   path: '/ocean-contracts/artifacts'
ocean-contracts-1  | }
ocean-contracts-1  | Solidity 0.8.26 is not fully supported yet. You can still use Hardhat, but some features, like stack traces, might not work correctly.
ocean-contracts-1  | 
ocean-contracts-1  | Learn more at https://hardhat.org/hardhat-runner/docs/reference/solidity-support
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
ocean-contracts-1  |   --> contracts/rewards/Booster.sol:80:20:
ocean-contracts-1  |    |
ocean-contracts-1  | 80 |     function _burn(uint256 tokenId) internal override(ERC721URIStorage,ERC721) {
ocean-contracts-1  |    |                    ^^^^^^^^^^^^^^^
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Function state mutability can be restricted to pure
ocean-contracts-1  |   --> contracts/rewards/Booster.sol:80:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 80 |     function _burn(uint256 tokenId) internal override(ERC721URIStorage,ERC721) {
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: This declaration shadows an existing declaration.
ocean-contracts-1  |   --> contracts/df/VestingWalletHalving.sol:47:9:
ocean-contracts-1  |    |
ocean-contracts-1  | 47 |         uint256 halfLife,
ocean-contracts-1  |    |         ^^^^^^^^^^^^^^^^
ocean-contracts-1  | Note: The shadowed declaration is here:
ocean-contracts-1  |   --> contracts/df/VestingWalletHalving.sol:99:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 99 |     function halfLife() public view returns (uint256) {
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: This declaration shadows an existing declaration.
ocean-contracts-1  |   --> contracts/df/VestingWalletHalving.sol:48:9:
ocean-contracts-1  |    |
ocean-contracts-1  | 48 |         uint256 duration
ocean-contracts-1  |    |         ^^^^^^^^^^^^^^^^
ocean-contracts-1  | Note: The shadowed declaration is here:
ocean-contracts-1  |    --> contracts/df/VestingWalletHalving.sol:106:5:
ocean-contracts-1  |     |
ocean-contracts-1  | 106 |     function duration() public view returns (uint256) {
ocean-contracts-1  |     |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: This declaration shadows an existing declaration.
ocean-contracts-1  |    --> contracts/df/VestingWalletHalving.sol:254:32:
ocean-contracts-1  |     |
ocean-contracts-1  | 254 |     function changeBeneficiary(address beneficiary) external onlyOwner {
ocean-contracts-1  |     |                                ^^^^^^^^^^^^^^^^^^^
ocean-contracts-1  | Note: The shadowed declaration is here:
ocean-contracts-1  |   --> contracts/df/VestingWalletHalving.sol:85:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 85 |     function beneficiary() public view virtual returns (address) {
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: This declaration shadows an existing declaration.
ocean-contracts-1  |    --> contracts/df/VestingWalletLinear.sol:193:32:
ocean-contracts-1  |     |
ocean-contracts-1  | 193 |     function changeBeneficiary(address beneficiary) external onlyOwner {
ocean-contracts-1  |     |                                ^^^^^^^^^^^^^^^^^^^
ocean-contracts-1  | Note: The shadowed declaration is here:
ocean-contracts-1  |   --> contracts/df/VestingWalletLinear.sol:59:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 59 |     function beneficiary() public view virtual returns (address) {
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient.
ocean-contracts-1  |   --> contracts/utils/OceanToken.sol:33:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 33 |     constructor(
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
ocean-contracts-1  |    --> contracts/templates/ERC20Template3.sol:417:9:
ocean-contracts-1  |     |
ocean-contracts-1  | 417 |         providerFee calldata _providerFee,
ocean-contracts-1  |     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Unused local variable.
ocean-contracts-1  |    --> contracts/templates/ERC20Template3.sol:785:54:
ocean-contracts-1  |     |
ocean-contracts-1  | 785 |         (, address datatoken, , address baseToken, , uint256 freRate, , , , , , ) = fre
ocean-contracts-1  |     |                                                      ^^^^^^^^^^^^^^^
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Function state mutability can be restricted to pure
ocean-contracts-1  |   --> contracts/pools/balancer/BToken.sol:82:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 82 |     function name() external view returns (string memory) {
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Function state mutability can be restricted to pure
ocean-contracts-1  |   --> contracts/pools/balancer/BToken.sol:86:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 86 |     function symbol() external view returns (string memory) {
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Warning: Function state mutability can be restricted to pure
ocean-contracts-1  |   --> contracts/pools/balancer/BToken.sol:90:5:
ocean-contracts-1  |    |
ocean-contracts-1  | 90 |     function decimals() external view returns(uint8) {
ocean-contracts-1  |    |     ^ (Relevant source part starts here and spans across multiple lines).
ocean-contracts-1  | 
ocean-contracts-1  | 
ocean-contracts-1  | Compiled 97 Solidity files successfully (evm targets: london, paris).
ocean-contracts-1  | Vyper compilation finished successfully
ocean-contracts-1  | Starting deployment process...
ocean-contracts-1  | Using RPC: http://172.15.0.3:8545
ganache-1          | eth_chainId
ganache-1          | eth_chainId
ocean-contracts-1  | Using chain 8996
ocean-contracts-1  | Use existing addresses:{}
ocean-contracts-1  | Deploying OceanToken
ganache-1          | eth_chainId
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0xc39fb17530d45fa5d8756bcbac6496230d192972db452f22573278949521e340
ganache-1          |   Contract created: 0x312213d6f6b5fcf9f56b7b8946a6c727bf4bc21f
ganache-1          |   Gas usage: 903373
ganache-1          |   Block number: 204
ganache-1          |   Block time: Tue Oct 22 2024 09:26:07 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_getTransactionByHash
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 	Run the following to verify on etherscan
ocean-contracts-1  | 	npx hardhat verify --network development 0x312213d6f6b5FCF9F56B7B8946A6C727Bf4Bc21f 0xe2DD09d719Da89e5a3D0F2549c7E24566e947260
ocean-contracts-1  | 	Minting 1 mil tokens to owner
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0x0d6b5316064a86b57e091dd14d3967d76ff2e3349714c0b11ee1f258527d902c
ganache-1          |   Gas usage: 70748
ganache-1          |   Block number: 208
ganache-1          |   Block time: Tue Oct 22 2024 09:26:11 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 	Sending tokens to first 10 barge addresses
ocean-contracts-1  | 		Sending 100000 Ocean to 0xBE5449a6A97aD46c8558A3356267Ee5D2731ab5e
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0x84d55f804ac823379254f907376cf39ccd2301203cd46b7ee7ca21bbec9e9c6a
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 212
ganache-1          |   Block time: Tue Oct 22 2024 09:26:16 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0xA78deb2Fa79463945C247991075E2a0e98Ba7A09
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0xd70c28e0bc046fdc2c838df43551598c1c6c5e6dbc46ae760d210a270487da13
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 216
ganache-1          |   Block time: Tue Oct 22 2024 09:26:20 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0x02354A1F160A3fd7ac8b02ee91F04104440B28E7
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0x77f533394999e8feaa2b2b7f332605ac2cc6947ad9566279051eeac72a4bea34
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 220
ganache-1          |   Block time: Tue Oct 22 2024 09:26:24 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0xe17D2A07EFD5b112F4d675ea2d122ddb145d117B
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0xcd3593df9a2d822fc05b2736b145c8b12013e6dd689309cc5c6c7092d2ec8a17
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 224
ganache-1          |   Block time: Tue Oct 22 2024 09:26:28 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0xA32C84D2B44C041F3a56afC07a33f8AC5BF1A071
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0x76309f358100ae85555c4a0bc000db3f0429c383cbe032f6068d4189a29a39e7
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 228
ganache-1          |   Block time: Tue Oct 22 2024 09:26:32 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0xFF3fE9eb218EAe9ae1eF9cC6C4db238B770B65CC
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0x4fa9d2a1a60101e9fe7902582479a6affdeed3a22ff2c7ade71ed2341ac6fef7
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 232
ganache-1          |   Block time: Tue Oct 22 2024 09:26:36 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0x529043886F21D9bc1AE0feDb751e34265a246e47
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0x847c63e99180d8433a9655a6e93cfcf74ecc6ef546e220fae7e05daf4896cad6
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 236
ganache-1          |   Block time: Tue Oct 22 2024 09:26:40 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0xe08A1dAe983BC701D05E492DB80e0144f8f4b909
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0xe6c49e5c7f5296bd08d7dff3785dc932208ed60fd8556d4cc4c92f7da5630134
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 240
ganache-1          |   Block time: Tue Oct 22 2024 09:26:44 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | 		Sending 100000 Ocean to 0xbcE5A3468386C64507D30136685A99cFD5603135
ganache-1          | eth_getTransactionReceipt
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ganache-1          | eth_getTransactionReceipt
ganache-1          | 
ganache-1          |   Transaction: 0x18b5318fe11192bfdbd47347fe8a43cfaaed41eed618406927d907682a1f2a5e
ganache-1          |   Gas usage: 53660
ganache-1          |   Block number: 244
ganache-1          |   Block time: Tue Oct 22 2024 09:26:48 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
ganache-1          | eth_getTransactionCount
ganache-1          | eth_blockNumber
ganache-1          | eth_getTransactionReceipt
ocean-contracts-1  | Deploying Mocks
ocean-contracts-1  | Deploying DAI MOCK
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ocean-contracts-1  | Deploying USDC MOCK
ganache-1          | eth_gasPrice
ganache-1          | eth_getBlockByNumber
ganache-1          | eth_getTransactionCount
ganache-1          | eth_sendRawTransaction
ocean-contracts-1  | Error: processing response error (body="{\"id\":150,\"jsonrpc\":\"2.0\",\"error\":{\"message\":\"transaction underpriced\",\"stack\":\"Error: transaction underpriced\\n    at shouldReplace (/app/dist/node/1.js:2:185995)\\n    at TransactionPool.prepareTransaction (/app/dist/node/1.js:2:188093)\",\"code\":-32003}}", error={"code":-32003}, requestBody="{\"method\":\"eth_sendRawTransaction\",\"params\":[\"0x02f90de8822324178459682f008459682f0e837a12008080b90d8d60806040523480156200001157600080fd5b5060405162000cad38038062000cad8339810160408190526200003491620002ea565b82516200004990600390602086019062000177565b5081516200005f90600490602085019062000177565b506005805460ff191660ff831617905562000086336a52b7d2dcc80cd2e40000006200008f565b505050620003d3565b6001600160a01b038216620000ea5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000fe91906200036f565b90915550506001600160a01b038216600090815260208190526040812080548392906200012d9084906200036f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001859062000396565b90600052602060002090601f016020900481019282620001a95760008555620001f4565b82601f10620001c457805160ff1916838001178555620001f4565b82800160010185558215620001f4579182015b82811115620001f4578251825591602001919060010190620001d7565b506200020292915062000206565b5090565b5b8082111562000202576000815560010162000207565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200024557600080fd5b81516001600160401b03808211156200026257620002626200021d565b604051601f8301601f19908116603f011681019082821181831017156200028d576200028d6200021d565b81604052838152602092508683858801011115620002aa57600080fd5b600091505b83821015620002ce5785820183015181830184015290820190620002af565b83821115620002e05760008385830101525b9695505050505050565b6000806000606084860312156200030057600080fd5b83516001600160401b03808211156200031857600080fd5b620003268783880162000233565b945060208601519150808211156200033d57600080fd5b506200034c8682870162000233565b925050604084015160ff811681146200036457600080fd5b809150509250925092565b600082198211156200039157634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003ab57607f821691505b60208210811415620003cd57634e487b7160e01b600052602260045260246000fd5b50919050565b6108ca80620003e36000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012957806370a082311461013c57806395d89b4114610165578063a457c2d71461016d578063a9059cbb14610180578063dd62ed3e1461019357600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101cc565b6040516100c39190610707565b60405180910390f35b6100df6100da366004610778565b61025e565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107a2565b610274565b60055460405160ff90911681526020016100c3565b6100df610137366004610778565b610323565b6100f361014a3660046107de565b6001600160a01b031660009081526020819052604090205490565b6100b661035f565b6100df61017b366004610778565b61036e565b6100df61018e366004610778565b610407565b6100f36101a1366004610800565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101db90610833565b80601f016020809104026020016040519081016040528092919081815260200182805461020790610833565b80156102545780601f1061022957610100808354040283529160200191610254565b820191906000526020600020905b81548152906001019060200180831161023757829003601f168201915b5050505050905090565b600061026b338484610414565b50600192915050565b6000610281848484610538565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561030b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103188533858403610414565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161026b91859061035a90869061086e565b610414565b6060600480546101db90610833565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156103f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610302565b6103fd3385858403610414565b5060019392505050565b600061026b338484610538565b6001600160a01b0383166104765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610302565b6001600160a01b0382166104d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610302565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661059c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610302565b6001600160a01b0382166105fe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610302565b6001600160a01b038316600090815260208190526040902054818110156106765760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610302565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106ad90849061086e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106f991815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561073457858101830151858201604001528201610718565b81811115610746576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461077357600080fd5b919050565b6000806040838503121561078b57600080fd5b6107948361075c565b946020939093013593505050565b6000806000606084860312156107b757600080fd5b6107c08461075c565b92506107ce6020850161075c565b9150604084013590509250925092565b6000602082840312156107f057600080fd5b6107f98261075c565b9392505050565b6000806040838503121561081357600080fd5b61081c8361075c565b915061082a6020840161075c565b90509250929050565b600181811c9082168061084757607f821691505b6020821081141561086857634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561088f57634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212208d889fd2ae3f64d900dd01646bddf3c264a289d9ec1c43f397b03cff499c37cf64736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000c080a0df673cc231f1a5846d0e7e44406529aa70e732c554282f3e65221e74a8947d31a02f3741c6116efad7a636e7ae45f2a6fe4a84a03eee5092587a3c5ed87365b240\"],\"id\":150,\"jsonrpc\":\"2.0\"}", requestMethod="POST", url="http://172.15.0.3:8545", code=SERVER_ERROR, version=web/5.7.1)
ocean-contracts-1  |     at Logger.makeError (/ocean-contracts/node_modules/@ethersproject/logger/lib/index.js:238:21)
ocean-contracts-1  |     at Logger.throwError (/ocean-contracts/node_modules/@ethersproject/logger/lib/index.js:247:20)
ocean-contracts-1  |     at /ocean-contracts/node_modules/@ethersproject/web/lib/index.js:313:32
ocean-contracts-1  |     at step (/ocean-contracts/node_modules/@ethersproject/web/lib/index.js:33:23)
ocean-contracts-1  |     at Object.next (/ocean-contracts/node_modules/@ethersproject/web/lib/index.js:14:53)
ocean-contracts-1  |     at fulfilled (/ocean-contracts/node_modules/@ethersproject/web/lib/index.js:5:58)
ocean-contracts-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
ocean-contracts-1  |   reason: 'processing response error',
ocean-contracts-1  |   code: 'SERVER_ERROR',
ocean-contracts-1  |   body: '{"id":150,"jsonrpc":"2.0","error":{"message":"transaction underpriced","stack":"Error: transaction underpriced\\n    at shouldReplace (/app/dist/node/1.js:2:185995)\\n    at TransactionPool.prepareTransaction (/app/dist/node/1.js:2:188093)","code":-32003}}',
ocean-contracts-1  |   error: Error: transaction underpriced
ocean-contracts-1  |       at getResult (/ocean-contracts/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:191:21)
ocean-contracts-1  |       at processJsonFunc (/ocean-contracts/node_modules/@ethersproject/web/lib/index.js:356:22)
ocean-contracts-1  |       at /ocean-contracts/node_modules/@ethersproject/web/lib/index.js:288:46
ocean-contracts-1  |       at step (/ocean-contracts/node_modules/@ethersproject/web/lib/index.js:33:23)
ocean-contracts-1  |       at Object.next (/ocean-contracts/node_modules/@ethersproject/web/lib/index.js:14:53)
ocean-contracts-1  |       at fulfilled (/ocean-contracts/node_modules/@ethersproject/web/lib/index.js:5:58)
ocean-contracts-1  |       at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
ocean-contracts-1  |     code: -32003,
ocean-contracts-1  |     data: undefined
ocean-contracts-1  |   },
ocean-contracts-1  |   requestBody: '{"method":"eth_sendRawTransaction","params":["0x02f90de8822324178459682f008459682f0e837a12008080b90d8d60806040523480156200001157600080fd5b5060405162000cad38038062000cad8339810160408190526200003491620002ea565b82516200004990600390602086019062000177565b5081516200005f90600490602085019062000177565b506005805460ff191660ff831617905562000086336a52b7d2dcc80cd2e40000006200008f565b505050620003d3565b6001600160a01b038216620000ea5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000fe91906200036f565b90915550506001600160a01b038216600090815260208190526040812080548392906200012d9084906200036f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001859062000396565b90600052602060002090601f016020900481019282620001a95760008555620001f4565b82601f10620001c457805160ff1916838001178555620001f4565b82800160010185558215620001f4579182015b82811115620001f4578251825591602001919060010190620001d7565b506200020292915062000206565b5090565b5b8082111562000202576000815560010162000207565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200024557600080fd5b81516001600160401b03808211156200026257620002626200021d565b604051601f8301601f19908116603f011681019082821181831017156200028d576200028d6200021d565b81604052838152602092508683858801011115620002aa57600080fd5b600091505b83821015620002ce5785820183015181830184015290820190620002af565b83821115620002e05760008385830101525b9695505050505050565b6000806000606084860312156200030057600080fd5b83516001600160401b03808211156200031857600080fd5b620003268783880162000233565b945060208601519150808211156200033d57600080fd5b506200034c8682870162000233565b925050604084015160ff811681146200036457600080fd5b809150509250925092565b600082198211156200039157634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003ab57607f821691505b60208210811415620003cd57634e487b7160e01b600052602260045260246000fd5b50919050565b6108ca80620003e36000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012957806370a082311461013c57806395d89b4114610165578063a457c2d71461016d578063a9059cbb14610180578063dd62ed3e1461019357600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101cc565b6040516100c39190610707565b60405180910390f35b6100df6100da366004610778565b61025e565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107a2565b610274565b60055460405160ff90911681526020016100c3565b6100df610137366004610778565b610323565b6100f361014a3660046107de565b6001600160a01b031660009081526020819052604090205490565b6100b661035f565b6100df61017b366004610778565b61036e565b6100df61018e366004610778565b610407565b6100f36101a1366004610800565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101db90610833565b80601f016020809104026020016040519081016040528092919081815260200182805461020790610833565b80156102545780601f1061022957610100808354040283529160200191610254565b820191906000526020600020905b81548152906001019060200180831161023757829003601f168201915b5050505050905090565b600061026b338484610414565b50600192915050565b6000610281848484610538565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561030b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103188533858403610414565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161026b91859061035a90869061086e565b610414565b6060600480546101db90610833565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156103f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610302565b6103fd3385858403610414565b5060019392505050565b600061026b338484610538565b6001600160a01b0383166104765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610302565b6001600160a01b0382166104d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610302565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661059c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610302565b6001600160a01b0382166105fe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610302565b6001600160a01b038316600090815260208190526040902054818110156106765760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610302565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106ad90849061086e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106f991815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561073457858101830151858201604001528201610718565b81811115610746576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461077357600080fd5b919050565b6000806040838503121561078b57600080fd5b6107948361075c565b946020939093013593505050565b6000806000606084860312156107b757600080fd5b6107c08461075c565b92506107ce6020850161075c565b9150604084013590509250925092565b6000602082840312156107f057600080fd5b6107f98261075c565b9392505050565b6000806040838503121561081357600080fd5b61081c8361075c565b915061082a6020840161075c565b90509250929050565b600181811c9082168061084757607f821691505b6020821081141561086857634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561088f57634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212208d889fd2ae3f64d900dd01646bddf3c264a289d9ec1c43f397b03cff499c37cf64736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000c080a0df673cc231f1a5846d0e7e44406529aa70e732c554282f3e65221e74a8947d31a02f3741c6116efad7a636e7ae45f2a6fe4a84a03eee5092587a3c5ed87365b240"],"id":150,"jsonrpc":"2.0"}',
ocean-contracts-1  |   requestMethod: 'POST',
ocean-contracts-1  |   url: 'http://172.15.0.3:8545',
ocean-contracts-1  |   transaction: {
ocean-contracts-1  |     type: 2,
ocean-contracts-1  |     chainId: 8996,
ocean-contracts-1  |     nonce: 23,
ocean-contracts-1  |     maxPriorityFeePerGas: BigNumber { value: "1500000000" },
ocean-contracts-1  |     maxFeePerGas: BigNumber { value: "1500000014" },
ocean-contracts-1  |     gasPrice: null,
ocean-contracts-1  |     gasLimit: BigNumber { value: "8000000" },
ocean-contracts-1  |     to: null,
ocean-contracts-1  |     value: BigNumber { value: "0" },
ocean-contracts-1  |     data: '0x60806040523480156200001157600080fd5b5060405162000cad38038062000cad8339810160408190526200003491620002ea565b82516200004990600390602086019062000177565b5081516200005f90600490602085019062000177565b506005805460ff191660ff831617905562000086336a52b7d2dcc80cd2e40000006200008f565b505050620003d3565b6001600160a01b038216620000ea5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000fe91906200036f565b90915550506001600160a01b038216600090815260208190526040812080548392906200012d9084906200036f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001859062000396565b90600052602060002090601f016020900481019282620001a95760008555620001f4565b82601f10620001c457805160ff1916838001178555620001f4565b82800160010185558215620001f4579182015b82811115620001f4578251825591602001919060010190620001d7565b506200020292915062000206565b5090565b5b8082111562000202576000815560010162000207565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200024557600080fd5b81516001600160401b03808211156200026257620002626200021d565b604051601f8301601f19908116603f011681019082821181831017156200028d576200028d6200021d565b81604052838152602092508683858801011115620002aa57600080fd5b600091505b83821015620002ce5785820183015181830184015290820190620002af565b83821115620002e05760008385830101525b9695505050505050565b6000806000606084860312156200030057600080fd5b83516001600160401b03808211156200031857600080fd5b620003268783880162000233565b945060208601519150808211156200033d57600080fd5b506200034c8682870162000233565b925050604084015160ff811681146200036457600080fd5b809150509250925092565b600082198211156200039157634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003ab57607f821691505b60208210811415620003cd57634e487b7160e01b600052602260045260246000fd5b50919050565b6108ca80620003e36000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012957806370a082311461013c57806395d89b4114610165578063a457c2d71461016d578063a9059cbb14610180578063dd62ed3e1461019357600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101cc565b6040516100c39190610707565b60405180910390f35b6100df6100da366004610778565b61025e565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107a2565b610274565b60055460405160ff90911681526020016100c3565b6100df610137366004610778565b610323565b6100f361014a3660046107de565b6001600160a01b031660009081526020819052604090205490565b6100b661035f565b6100df61017b366004610778565b61036e565b6100df61018e366004610778565b610407565b6100f36101a1366004610800565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101db90610833565b80601f016020809104026020016040519081016040528092919081815260200182805461020790610833565b80156102545780601f1061022957610100808354040283529160200191610254565b820191906000526020600020905b81548152906001019060200180831161023757829003601f168201915b5050505050905090565b600061026b338484610414565b50600192915050565b6000610281848484610538565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561030b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103188533858403610414565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161026b91859061035a90869061086e565b610414565b6060600480546101db90610833565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156103f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610302565b6103fd3385858403610414565b5060019392505050565b600061026b338484610538565b6001600160a01b0383166104765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610302565b6001600160a01b0382166104d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610302565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661059c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610302565b6001600160a01b0382166105fe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610302565b6001600160a01b038316600090815260208190526040902054818110156106765760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610302565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106ad90849061086e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106f991815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561073457858101830151858201604001528201610718565b81811115610746576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461077357600080fd5b919050565b6000806040838503121561078b57600080fd5b6107948361075c565b946020939093013593505050565b6000806000606084860312156107b757600080fd5b6107c08461075c565b92506107ce6020850161075c565b9150604084013590509250925092565b6000602082840312156107f057600080fd5b6107f98261075c565b9392505050565b6000806040838503121561081357600080fd5b61081c8361075c565b915061082a6020840161075c565b90509250929050565b600181811c9082168061084757607f821691505b6020821081141561086857634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561088f57634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212208d889fd2ae3f64d900dd01646bddf3c264a289d9ec1c43f397b03cff499c37cf64736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000',
ocean-contracts-1  |     accessList: [],
ocean-contracts-1  |     hash: '0x85dec56a6d84aa0fa24ca57513a1a16bf450f31d334ad55229d08e6d8e21cfa5',
ocean-contracts-1  |     v: 0,
ocean-contracts-1  |     r: '0xdf673cc231f1a5846d0e7e44406529aa70e732c554282f3e65221e74a8947d31',
ocean-contracts-1  |     s: '0x2f3741c6116efad7a636e7ae45f2a6fe4a84a03eee5092587a3c5ed87365b240',
ocean-contracts-1  |     from: '0xe2DD09d719Da89e5a3D0F2549c7E24566e947260',
ocean-contracts-1  |     confirmations: 0
ocean-contracts-1  |   },
ocean-contracts-1  |   transactionHash: '0x85dec56a6d84aa0fa24ca57513a1a16bf450f31d334ad55229d08e6d8e21cfa5'
ocean-contracts-1  | }
ganache-1          | 
ganache-1          |   Transaction: 0xf9b73def70e7f10756dba5c9831c86e01018f4cd70f9dae90cb90696782153b0
ganache-1          |   Contract created: 0x85cca2b01adddca8df221e6027ee0d7716224202
ganache-1          |   Gas usage: 669341
ganache-1          |   Block number: 248
ganache-1          |   Block time: Tue Oct 22 2024 09:26:52 GMT+0000 (Coordinated Universal Time)
ganache-1          | 
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 2/2
 ✔ Container ocean-ocean-contracts-1  Stopped                                                                                                                    2.6s 
 ✔ Container ocean-ganache-1          Stopped   

** can be fix with this:
If you get a gas-related error like transaction underpriced, you'll need to change the priority_fee or max_fee.

Sorry for this issue, safely delete it. thanks

@MohammadJamali MohammadJamali added the Type: Bug Something isn't working label Oct 22, 2024
@MohammadJamali MohammadJamali changed the title Transaction Underprice Transaction Underpriced Oct 22, 2024
@ehsanrabiei
Copy link

i have same problem

@MohammadJamali
Copy link
Author

MohammadJamali commented Oct 24, 2024

Once you run the default command sudo ./start_ocean.sh --with-c2d --no-dashboard, Ganache runs like this:

ganache-1          | Chain
ganache-1          | ==================
ganache-1          | Hardfork: istanbul
ganache-1          | Id:       8996
ganache-1          | 

However, ocean-contracts compiles contracts for the London and Paris hardforks.

ocean-contracts-1 | Compiled 97 Solidity files successfully (evm targets: london, paris).

This leads to the following error:

DATA_data_nft, DATA_datatoken, DATA_ddo = ocean.assets.create_arweave_asset('Max', txid, {"from": alice})

ValueError: {'message': 'Could not decode transaction: invalid RLP: remainder must be zero', 'stack': 'Error: Could not decode transaction: invalid RLP: remainder must be zero\n    at TransactionFactory.fromString (/app/dist/node/1.js:2:241431)\n    at EthereumApi.eth_sendRawTransaction (/app/dist/node/1.js:2:65380)\n    at n.value (/app/dist/node/1.js:2:159715)\n    at Object.execute (/app/dist/node/1.js:2:289971)\n    at RequestCoordinator.<anonymous> (/app/dist/node/1.js:2:289785)\n    at /app/dist/node/1.js:2:290051\n    at new Promise (<anonymous>)\n    at RequestCoordinator.queue (/app/dist/node/1.js:2:289893)\n    at Executor.execute (/app/dist/node/1.js:2:284503)\n    at EthereumProvider._requestRaw (/app/dist/node/1.js:2:183646)', 'code': -32700}

I manually changed these parameters: "--chain.hardfork", "london", "--miner.blockTime", "0" in the ganache.yml file. Setting blockTime to 1 (which is the default behavior of the --predictor flag) results in the underpriced error. Now I am facing the following issue:

DATA_data_nft, DATA_datatoken, DATA_ddo = ocean.assets.create_arweave_asset('Max', txid, {"from": alice})

aquarius-1         | 2024-10-24 17:23:46,103 - aquarius.app.es_instance - ERROR - get: ApiError(503, 'no_shard_available_action_exception', 'No shard available for [get [aquarius][did:op:4e325bb46657ced0fbb37b80d475b54da0af3101ed161d5ae616450a35d3daa5]: routing [null]]')
/venv/lib/python3.11/site-packages/ocean_lib/ocean/ocean_assets.py", line 350, in create_bundled
    raise AquariusError(
ocean_lib.exceptions.AquariusError: Asset id did:op:4e325bb46657ced0fbb37b80d475b54da0af3101ed161d5ae616450a35d3daa5 is already registered to another asset.
python-BaseException

I will update you as I work on fixing this issue as well.

@MohammadJamali
Copy link
Author

curl -XGET localhost:9200/_cluster/allocation/explain
{"note":"No shard was specified in the explain API request, so this response explains a randomly chosen unassigned shard. There may be other unassigned shards in this cluster which cannot be assigned for different reasons. It may not be possible to assign this shard until one of the other shards is assigned correctly. To explain the allocation of other shards (whether assigned or unassigned) you must specify the target shard in the request to this API.","index":"aquarius_plus","shard":0,"primary":true,"current_state":"unassigned","unassigned_info":{"reason":"INDEX_CREATED","at":"2024-10-25T07:55:34.995Z","last_allocation_status":"no"},"can_allocate":"no","allocate_explanation":"Elasticsearch isn't allowed to allocate this shard to any of the nodes in the cluster. Choose a node to which you expect this shard to be allocated, find this node in the node-by-node explanation, and address the reasons which prevent Elasticsearch from allocating this shard there.","node_allocation_decisions":[{"node_id":"z53iEEILSdGocmv2YxUDWg","node_name":"31930b5ec572","transport_address":"172.15.0.6:9300","node_attributes":{"ml.max_jvm_size":"536870912","ml.allocated_processors_double":"32.0","xpack.installed":"true","ml.machine_memory":"16359354368","ml.allocated_processors":"32"},"node_decision":"no","weight_ranking":1,"deciders":[{"decider":"disk_threshold","decision":"NO","explanation":"the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=90%], having less than the minimum required [23.6gb] free space, actual free: [17.2gb], actual used: [92.7%]"}]}]}   

i added a new hard drive and now it's working!
why 17.2gb is not enough :| ... why ... wasted two days on this 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants