pact icon indicating copy to clipboard operation
pact copied to clipboard

Importing interface capabilities with `use` causes failure

Open emilypi opened this issue 6 years ago • 0 comments

/Users/emilypi/kadena/chainweb-node/pact/coin-contract/coin.repl:239:0: Internal error, interface found in call stack: (interface fungible-v1)
 at /Users/emilypi/kadena/chainweb-node/pact/coin-contract/coin.pact:300:21: Internal error, interface found in call stack: (interface fungible-v1)
 at /Users/emilypi/kadena/chainweb-node/pact/coin-contract/coin.pact:300:4: (with-capability ((defcap fungible-v1.TRANSFER:<a> (sender:string r... [((defun coin.debit:string (account:string amount:...)
 at /Users/emilypi/kadena/chainweb-node/pact/coin-contract/coin.repl:241:2: (transfer "emily" "doug" 1.0)
 at /Users/emilypi/kadena/chainweb-node/pact/coin-contract/coin.repl:239:0: (expect "roundtrip 1.0 transfer succeeds" "Write succeeded" ((defun coin.transfer:string (sender:string receiv...)

emilypi avatar Oct 17 '19 14:10 emilypi