Comments (9)
@mesqueeb can you try MultiSigWalletWithDailyLimit.contract.new
instead of MultiSigWalletWithDailyLimit.new
if my memory doesn't fail
from multisigwallet.
Dear @denisgranha Thank you very very much.
This indeed solved my problem!
I wonder why, because your tests are written without .contract
in between!
Do you know the reason?
From your MultisigWallet test:
const deployMultisig = (owners, confirmations, limit) => {
return MultiSigWalletWithDailyLimit.new(owners, confirmations, limit)
}
from multisigwallet.
I'm running this custom testrpc node:
#!/bin/bash
ganache-cli -p 9545 -l 4700000 --account="0x8445abbbcf2911a2db42fced93efe0d7b3172295c99b01a9e02197ff52f30a53,20000000000000000000000000" --account="0x580324cb2abc8029d6eb5a14650a8bd77f48be478c7ece07afd777755070128c,20000000000000000000000000" --account="0x3e478e4fed09cdc68388286b94aeb1404df47b1f1df0de715e582d6aebc6e1c9,20000000000000000000000000" --account="0xa0d45d6a3911221c4e1b7edcd256741c6bcb9a247fda017a8946ff5f5c38021a,200000000000000000000" --account="0x1386ff12f7d49e6e4e835952493d034570e134bfb0fc6f9d17b49dbdf88d03b3,200000000000000000000" --account="0xf84d5b9d64e427d43645e3c12906d322410a87b277374a0335a4ca0da9316d23,200000000000000000000"
from multisigwallet.
@denisgranha Just curious for my own understanding & learning point of view:
What's the difference between MultiSigWalletWithDailyLimit.contract.new
instead of MultiSigWalletWithDailyLimit.new
. Is this a web3 related thing?
Do you have any recommendation for me to read up on related to this particular behaviour?
from multisigwallet.
@denisgranha
A new related bug seems to have appeared.
When trying my setup again today I get: TypeError: Cannot read property 'new' of undefined
So MultiSigWalletWithDailyLimit.contract.new()
doesn't exist anymore...
The only difference is that because of Node I had to write these lines in my deploy script inside a try
block:
try {
wallet = await MultiSigWalletWithDailyLimit.contract.new([multisigWalletAddress1, multisigWalletAddress2], 2, multisigWalletDailyLimit)
console.log(`MultisigWallet: ${wallet.address}`)
Other libraries like truffle shouldn't be changed as I use fixed versions:
npm install -g [email protected]
npm install -g [email protected]
npm install [email protected]
from multisigwallet.
what was the issue @mesqueeb ? :)
from multisigwallet.
Solved by deleting the contract
keyword again.
This time I didn't get the bug I had initially when calling without the contract
keyword.
I'm still not sure what the contract
keyword does... I'd love some hint on what contract
does! : D
from multisigwallet.
ah ok ^^
So, maybe you should use https://github.com/trufflesuite/truffle-contract in order to load the source code
from multisigwallet.
http://truffleframework.com/docs/getting_started/scripts it's more oriented for set ups, test settings... I would say
from multisigwallet.
Related Issues (20)
- Arbitrary Code Injection
- Regular Expression Denial of Service (ReDoS)
- Denial of Service (DoS)
- Sending/approving multisig transaction stuck in Executing forever
- Error: "Cannot read property 'fromV3' of undefined" when importing account keystore
- Page not found - The resource you're looking for doesn't exist. HOT 2
- Can't get it working with 1st generation Trezor HOT 4
- gas required exceeds allowance (8562366) or always failing transaction HOT 1
- Why is node 8 a requirement for Mac 10.14.6? HOT 1
- Installation fails on Ubuntu 18.04
- Is the multisig wallet affected by EIP 1884? HOT 2
- Tests failing
- It can't connect to infura HOT 1
- Dapper mobile fails to connect. HOT 1
- Can't connect Ledger Nano S to the multisig wallet HOT 5
- Sendtransaction error
- Failed transaction constantly with BAND token. Urgent help
- Use multisig wallet as an owner of another multisig HOT 1
- Add Option to support ETH compatible DPOS chain-XinFin Network
- Add Option to support ETH compatible DPOS chain-XinFin Network HOT 11
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 multisigwallet.