Code Monkey home page Code Monkey logo

Comments (4)

delta003 avatar delta003 commented on May 18, 2024

👋

Can you attach exports config from tenderly.yaml?

I think London hard fork is not activated in your local, but it is for exported network. Take a look at https://github.com/Tenderly/tenderly-cli#advanced-usage-1, you can configure london_block for exported network, or activate London hard fork in local.

from tenderly-cli.

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024

Yes, this is my tenderly.yaml

account_id: 9d553e77-405e-47d4-83ae-60e04f801fc9
exports:
  ganache:
    chain_config:
      berlin_block: 0
      byzantium_block: 0
      constantinople_block: 0
      eip150_block: 0
      eip150_hash: "0x0000000000000000000000000000000000000000000000000000000000000000"
      eip155_block: 0
      eip158_block: 0
      homestead_block: 0
      istanbul_block: 0
      london_block: 0
      petersburg_block: 0
    forked_network: Binance
    project_slug: BigFoot/bigfoot
    protocol: ""
    rpc_address: XXX.XXX.XXX.XXX:8546
project_slug: bigfoot
provider: Truffle

And, sorry, but I didn't understand you about enable london_block. I forked BSC not ETH. am I able to enable london_block then?

I found this issue and I tested: #39 (It didn't work with -k istanbul)

Thanks

from tenderly-cli.

delta003 avatar delta003 commented on May 18, 2024

If you comment out / remove london_block: 0 part of your chain_config, that will disable London hard fork for exported chain and it should fix your issue. Let me know if it worked :)

from tenderly-cli.

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024

I delete the line that you said. But I must use --force option because if I doesn't use it returns an error:

# tenderly export 0x80ed8d79a773d8180157ca724059a1d65133fb8e291b20b3787e49086c369826 --debug
Trying OpenZeppelin config path: networks.js
couldn't read new OpenzeppelinConfig config file
Trying buidler config path: buidler.config.js
couldn't read new Buidler config file
Trying hardhat config path: hardhat.config.js
Trying hardhat ts config path: hardhat.config.ts
Trying brownie config path: brownie-config.yaml
Trying truffle config path: truffle-config.js
Collecting network information...

Collecting transaction information...

Unable to get transaction rerunning information: error processing transaction: user error: gas mismatch between receipt and actual gas used, message: Rerun gas mismatch for transaction 0x80ed8d79a773d8180157ca724059a1d65133fb8e291b20b3787e49086c369826. This can happen when the chain config is incorrect or the local node is not running the latest version.

Please check which hardfork is active on your local node. If you are not running the newest fork, comment out the forks block in tenderly.yaml.

Transaction processing failed. To see more info about this error, please run this command with the --debug flag.
Try exporting with --force to ignore some validation
# tenderly export 0x80ed8d79a773d8180157ca724059a1d65133fb8e291b20b3787e49086c369826 --debug --force
Trying OpenZeppelin config path: networks.js
couldn't read new OpenzeppelinConfig config file
Trying buidler config path: buidler.config.js
couldn't read new Buidler config file
Trying hardhat config path: hardhat.config.js
Trying hardhat ts config path: hardhat.config.ts
Trying brownie config path: brownie-config.yaml
Trying truffle config path: truffle-config.js
Collecting network information...

Collecting transaction information...

Collecting contracts...
Trying truffle config path: /node/bigfoot-finance/contracts/truffle-config.js
[          ] Making request
[===       ] Got response with body
Successfully exported transaction with hash 0x80ed8d79a773d8180157ca724059a1d65133fb8e291b20b3787e49086c369826
You can view your transaction at https://dashboard.tenderly.co/BigFoot/bigfoot/local-transactions/a5f35f74-fe10-4a12-a5f8

Thanks a lot.

from tenderly-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.