You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Proof generation tool, generator.js is written as series of truffle tests i.e. it's. However it doesn't test anything(no asserts). Reason is contract deployment uses truffle artifacts and truffle network configuration for connecting to geth. Truffle artifacts objects are only accessible through truffle framework.
Proposal
Integrate truffle exec with proof generator to have access to contracts (artifacts) and Web3 as per truffle config.
Remove all the describe/it's from generator.js. Generator should look like tool than series of it's.
Context
In Proof generation tool, generator.js is written as series of truffle tests i.e.
it's
. However it doesn't test anything(no asserts). Reason is contract deployment uses truffle artifacts and truffle network configuration for connecting to geth. Truffle artifacts objects are only accessible through truffle framework.Proposal
Integrate
truffle exec
with proof generator to have access to contracts (artifacts) and Web3 as per truffle config.Remove all the
describe
/it's
from generator.js. Generator should look like tool than series ofit's
.Please check https://truffleframework.com/docs/truffle/reference/truffle-commands#exec and generally the truffle documentation.
Discussion Reference
#717 (comment)
#717
cc: @schemar @benjaminbollen
The text was updated successfully, but these errors were encountered: