Hi, has anyone ever load safe-contracts in a truffle project? I'd like to use the contracts to test my module.
Project-A (truffle project)
+ node_modules + @gnosis.pm/safe-contracts + test - test.spec.js
const GnosisSafe = artifacts.require("@gnosis.pm/safe-contracts/GnosisSafe");
Unfortunately GnosisSafe contract won't be found from truffle.
Hi! I am trying to compile safe contracts and get the same bytecode as it is on etherscan (https://etherscan.io/address/0x76e2cfc1f5fa8f6a5b3fc4c8f4788f0116861f9b#code ). I copied the verified code and compiled it in remix. I get different bytecodes for different evmVersion settings but no bytecode matches the original (on etherscan). I also cloned your repository and run ’npx truffle compile’ and the bytecode I get also doesn’t match the previous ones.
Here is what bytecodes I get :
How do I compile contracts to get the correct bytecode?
Hi, I got a question regarding event logs during truffle test.
I created a truffle project for a module, and when the test using "truffle test" fails, truffle test reporter fails decoding events with an error message below:
Warning: Could not decode event!
As far as I remember events while truffle test were displayed about 1 year ago, but does anyone have same experience?
eth_getCode). To the question why is it not 100% the same you need to take a look at https://solidity.readthedocs.io/en/v0.6.1/metadata.html#encoding-of-the-metadata-hash-in-the-bytecode
Does the multisig support deep linking or a way to pre-fill the custom transaction form?
npx truffle deploy(after added the network in
truffle.jsand setting ENV vars appropriately.