wormhole icon indicating copy to clipboard operation
wormhole copied to clipboard

Test created by the C3 team.

Open marcosnc opened this issue 1 year ago • 2 comments

marcosnc avatar Sep 13 '22 16:09 marcosnc

Traceback (most recent call last):
(True, 'teal/core_approve.teal', 'teal/core_clear.teal', <algosdk.v2client.algod.AlgodClient object at 0x7f90d93f7070>, 1002000, <TmplSig.TmplSig object at 0x7f90db75a530>, True)
  File "/home/runner/work/wormhole/wormhole/algorand/test/test.py", line 798, in <module>
    core.simple_test()
  File "/home/runner/work/wormhole/wormhole/algorand/test/test.py", line 520, in simple_test
    self.vaa_verify = self.client.compile(get_vaa_verify())
TypeError: get_vaa_verify() missing 1 required positional argument: 'file_name'
Writing teal/core_approve.teal
Writing teal/core_clear.teal

Need to fix test.py given the API change

jumpsiegel avatar Sep 13 '22 18:09 jumpsiegel

Traceback (most recent call last):
(True, 'teal/core_approve.teal', 'teal/core_clear.teal', <algosdk.v2client.algod.AlgodClient object at 0x7f90d93f7070>, 1002000, <TmplSig.TmplSig object at 0x7f90db75a530>, True)
  File "/home/runner/work/wormhole/wormhole/algorand/test/test.py", line 798, in <module>
    core.simple_test()
  File "/home/runner/work/wormhole/wormhole/algorand/test/test.py", line 520, in simple_test
    self.vaa_verify = self.client.compile(get_vaa_verify())
TypeError: get_vaa_verify() missing 1 required positional argument: 'file_name'
Writing teal/core_approve.teal
Writing teal/core_clear.teal

Need to fix test.py given the API change

I added a default parameter to get_vaa_verify

noitatum avatar Sep 13 '22 23:09 noitatum