Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 6421

Questions regarding the implementation and use of the Truffle development and testing environment.

2 votes
Accepted

Is it possible to interact with multiple contracts in the same .sol file using Truffle?

truffle console will automatically load all contracts regardless of their organization into .sol files. …
syzygy's user avatar
  • 209
2 votes

Unable to set variable from other contract, able to from outside

Turns out the out of gas exception really was an out of gas exception this time...
syzygy's user avatar
  • 209
2 votes
1 answer
113 views

Unable to set variable from other contract, able to from outside

I've got two contracts, A and B, I set them up in a truffle test separately. A.new()... B.new()... A has a function bar, which sets a public boolean boo to true that is never read anywhere. … bar() public { boo = true; } } contract B(){ A public myA; function setA(address addr){ myA = A(addr); } function foo() public { myA.bar(); } } Now in my truffle
syzygy's user avatar
  • 209