Comments (6)
@johnnyshankman I just pushed version 0.5.15
which should now display the "main" contract on top (as I described in the comment above). Thanks for the suggestion. I'll leave this issue open since the rest of the file ordering is still not the way I would prefer.
from truffle-plugin-verify.
Bump!
I'll add that while general ordering is great, I only need to be able to control which contract goes first.
A very common use case is one main contract with ASCII art at the top which imports a multitude of openzeppelin libraries. As long as that one contract is hoisted the top, I'm not particular about the order of the rest and the current ordering is completely fine. Essentially being able to define a root
.sol/artifact that goes first.
from truffle-plugin-verify.
That's a very good point you raised there @johnnyshankman. Making sure this "root" contract is on top should be much easier than figuring out the complete path, so that is something I can add. It makes sense to me that the "root" contract is the one that is being verified. e.g. truffle run verify MetaCoin
means that MetaCoin
will be on top. Can you think of any cases where you wouldn't want that contract to be on top?
from truffle-plugin-verify.
@rkalis Wonderful!
from truffle-plugin-verify.
Since Truffle is being sunset, I don't plan to add new features, so I'm closing this issue. The "main contract on top" has been good enough for the past years any way.
from truffle-plugin-verify.
Fair nuff!
from truffle-plugin-verify.
Related Issues (20)
- Proxy handling working well only for initial deployment, not for update case HOT 1
- Unable to verify since 0.8.16 HOT 2
- verifying smart contract fails when using viaIR is true in truffle config HOT 8
- Etherscan has no support for network arbitrum_goerli with chain id 421613 HOT 2
- Zcore 3331 HOT 1
- support for sepolia HOT 2
- Add support for Subscan based verification HOT 2
- TypeError: (intermediate value).hostname.split(...).at is not a function HOT 4
- Fail with TypeError: (intermediate value).hostname.split(...).at at Goerli HOT 1
- Couldn't verify Contracts on Etherscan using truffle-plugin-verify HOT 4
- I cannot verify an updateable contract on the poligon testnet. HOT 2
- KAVA verification HOT 3
- Fail - Unable to verify. HOT 10
- Verification fails when contracts import "truffle/console.sol", etc. HOT 1
- sourcify fails with 500 error code HOT 9
- Failed to connect to Etherscan API at url - tunneling socket could not be established, cause=socket hang up
- Cannot read properties of undefined (reading "address") during verification HOT 2
- Cannot read properties of undefined (reading "address") during verification HOT 8
- Cannot read properties of undefined (reading 'includes') on verification HOT 3
- celo testnet explorer is not correct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from truffle-plugin-verify.