CREATE2for now, I suspect. Most likely, that means adding some extra input data to verify that the contract was generated by
CREATEcontracts as well as
CREATE2, after Constantinople. So, I'm not sure the package manager source verification can/should do anything. Maybe look for
delegatecalland issue a warning that it could be possible to swap the contract in place, when verifying source. But that seems pretty brittle to an evolving EVM.
ethpm.jsonfile and under the list of dependencies I found one named
"tokens". Where do I find out information about that package? I'm getting a 404 Not Found from https://www.ethpm.com/registry
”tokens”package should be included in the
ethpm.json. Since there’s no central package registry in ethpm there’s no global
“tokens”package, so it’s hard to know which specific
”tokens”package is the one referenced in your case, but if you can link the
ethpm.jsonyou’re talking about I can dig a bit deeper
ethpm.jsonfile I'm looking at, wondering what it means by the
0.1.4a13) should play nicely with web3 4.9, but in terms of ethpm supporting web3.py < 5.0, it’s probably going to be up to the user to modify ethpm as needed (unless there’s strong demand for it)
Hey @njgheorghita - Daniel here from the Consensys Ethereum bootcamp (student).
I think a lot of the incoming requests are coming from people coming from the Truffle Docs + EthPM guide
I've created an issue to update the Truffle Docs for EthPM v2. Happy to work on it if you can give a high-level summary of what you'd like written, and pointers on where to look for information
TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at Object.resolve_dependencies (/usr/local/lib/node_modules/truffle/build/webpack:/~/ethpm/lib/preflight.js:14:1) at /usr/local/lib/node_modules/truffle/build/webpack:/~/ethpm/lib/installer.js:29:1 Truffle v5.0.27 (core: 5.0.27) Node v11.11.0
web3.pyexposes a builder tool which will help you create manifests, or within the next week or two I hope to release ethpm-cli which will let you easily create packages from your command line.
ethpm-cliis coming soon to help change that, so you can easily make your own cool packages. Otherwise this directory is a good place to start exploring.