Commit Graph

18 Commits

Author SHA1 Message Date
StephenButtolph f78d7b3caf use transitive dependencies when possible with transaction dependencies 2020-06-18 13:34:04 -04:00
Aaron Buchwald 2fb88906cc
Add testing for avm API ImportKey 2020-06-12 15:10:39 -04:00
StephenButtolph 5e6e3d61f2 merged 2020-05-12 01:27:13 -04:00
StephenButtolph 1dc6fb77b9 merged 2020-05-11 22:41:05 -04:00
StephenButtolph 8dd5f21847 clean up locking in the AVM / platformVM tests 2020-05-10 17:03:12 -04:00
StephenButtolph 966e28d928 Added UTXOIDs to the getBalance call to enable atomic reads 2020-05-07 17:31:50 -04:00
StephenButtolph 522c946115 Added GetTx method to the AVM endpoint 2020-05-07 14:30:14 -04:00
Alex Willmer f89bcdc40c vms: Use GenesisVM to initialise avm.Service tests 2020-04-19 13:49:53 +01:00
Alex Willmer 91f4c85bb2 vms: Remove resolved locking TODO
The question was answered in
https://github.com/ava-labs/gecko/pull/59#discussion_r406597250

> In general, the lock needs to be held whenever a VM function is called
> by the consensus engine. Depending on the locking specified in
> CreateHandlers locks may be held when an RPC is called as well.

> For the AVM specifically, the lock is assumed to be held both when an
> RPC is called and when any function is called, except for the ws API.
2020-04-16 20:26:18 +01:00
Alex Willmer 689177e113 vms: Reword timeout warning, include a link to discussion 2020-04-15 20:27:12 +01:00
Alex Willmer b8e1094309 vms: Add tests for avm.Service.GetUTXOs 2020-04-13 09:40:12 +01:00
Alex Willmer 795d3ffd3c vms: Standardise on GenesisVM() in test suite, where possible
Note that GenesisVM now leaves the Context locked. It is the
resposibility of the caller to unlock it.
2020-04-13 09:28:54 +01:00
Alex Willmer 208195bf34 vms: add test for Service.GetTxStatus() 2020-04-09 00:58:30 +01:00
Alex Willmer 70e571b77c vms: add test for Service.IssueTx() 2020-04-09 00:57:43 +01:00
Alex Willmer e71a91d3bd vms: Facter service setup out of AVM service tests 2020-04-09 00:44:00 +01:00
StephenButtolph ffcdfafaf6 Implemented fx operations 2020-03-30 01:08:45 -04:00
StephenButtolph 552e63f2eb Added export Tx to the AVM 2020-03-24 12:39:25 -04:00
StephenButtolph b9e34e3b15 init repo 2020-03-10 15:20:34 -04:00