Code Monkey home page Code Monkey logo

Comments (13)

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024 1

Nothing yet?

from tenderly-cli.

BogdanHabic avatar BogdanHabic commented on May 18, 2024

Hey! This usually happens if Truffle has old artifacts in the build folder. Does this still happen if you delete the build folder and try again after re-deploy?

P. S. It should also be sufficient to delete the BscMasterChef.json file and that's it.

from tenderly-cli.

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024

I deleted build directory and I did the complete compilation and migration.

But, it didn't work. Same error.

#tenderly push
Setting up your project...
Analyzing Truffle configuration...
Pushing Smart Contracts for project: bigfoot
Couldn't read Truffle build files at: build/contracts
root@bsctoken:/node/bigfoot-finance/contracts# tenderly push --debug
Setting up your project...
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
Analyzing Truffle configuration...
Trying truffle config path: /node/bigfoot-finance/contracts/truffle-config.js
Pushing Smart Contracts for project: bigfoot
unable to upload contracts: unable to get provider contracts: failed reading contract source file: open project:/contracts/bsc/BscBiswapVariables.sol: no such file or directory
Couldn't read Truffle build files at: build/contracts

May be that 'tenderly push' doesn't get relative path.

I am executing the order inside truffle directory, but the absolute path is /example/..../contracts.

May be a bug?

This is my folder structure

Screenshot

from tenderly-cli.

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024

Nothing about this?

from tenderly-cli.

BogdanHabic avatar BogdanHabic commented on May 18, 2024

I'd need to look at the .json files. Is the project open source?

If not, I see two things we can do:

  • If you could upload the build folder here
  • Send us the project via the chat on our app

Bogdan

from tenderly-cli.

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024

Sorry, but it's a private repository.

I attached here the build folder, no problem.

build.zip

from tenderly-cli.

BogdanHabic avatar BogdanHabic commented on May 18, 2024

@bigfootdeveloper just so you know, the build folder does contain source files, so you might want to delete this (I've downloaded it now).

from tenderly-cli.

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024

It's not a problem. The source code will be available when I will deploy the contracts, but the repo contains more info and that was the reason for do it private.

It would be important to find the reason for the failure. I think that tenderly it's a good tool, but work with truffle it's a "must have".

If you need something more, please, request it.

Thanks in advance.

from tenderly-cli.

bigfootdeveloper avatar bigfootdeveloper commented on May 18, 2024

Nothing???

from tenderly-cli.

Vorh avatar Vorh commented on May 18, 2024

Hello!
I have the same problem...

OS Linux 5.14.11-arch1-1
Truffle v5.4.1 (core: 5.4.1)
Solidity - 0.8.6 (solc-js)
Node v12.0.0
Web3.js v1.4.0

Debug log:
image

from tenderly-cli.

Vorh avatar Vorh commented on May 18, 2024

@BogdanHabic hi, can you help please? :(

from tenderly-cli.

certifirm avatar certifirm commented on May 18, 2024

Clearly, it's a bug. The contracts are in the folder but tenderly-cli doesn't found it.

I have the same problem too. Look at the date of this issue.

from tenderly-cli.

Malcador avatar Malcador commented on May 18, 2024

Hey guys, could you re-try this now? Pretty random issue, not sure why the legacy AST is generated at all (the regular ast doesn't have the import directives that cause the issue).

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.