StephenButtolph
bdb81df0d2
Turned off sig verification in the AVM during bootstrapping
2020-06-02 17:01:51 -04:00
StephenButtolph
cd669a3d98
Added bootstrapping notifications to VMs
2020-06-01 23:24:21 -04:00
StephenButtolph
f6244aaca4
allowed for multiple DB types to be used in the fund indexer
2020-05-31 15:43:01 -04:00
StephenButtolph
3d5a838ce6
merged utxo indexing upgrade
2020-05-30 12:47:23 -04:00
StephenButtolph
97754e2545
Added tests for separation between the avm and the platformvm
2020-05-30 12:44:41 -04:00
Collin Montag
33eca06ca2
state test pruning
2020-05-29 00:03:14 -04:00
Collin Montag
232f962d4b
updated tests
2020-05-28 23:50:33 -04:00
StephenButtolph
6318186848
wip currently has a deadlock error
2020-05-28 23:48:08 -04:00
Collin Montag
198accdea7
ava state prefixdb
2020-05-28 10:36:00 -04:00
StephenButtolph
e57219a648
Merged bootstrapping error handling
2020-05-26 13:57:42 -04:00
StephenButtolph
537e72714f
Added returned errors to Accept and Reject in decidables
2020-05-26 13:25:34 -04:00
StephenButtolph
bb11465d7e
added listAddresses API to the AVM
2020-05-25 22:29:36 -04:00
StephenButtolph
40cb65ed8f
merged
2020-05-23 17:19:16 -04:00
StephenButtolph
896cafdcbb
debugging utxo error
2020-05-20 11:37:01 -04:00
StephenButtolph
5e6e3d61f2
merged
2020-05-12 01:27:13 -04:00
StephenButtolph
1dc6fb77b9
merged
2020-05-11 22:41:05 -04:00
Stephen Buttolph
a27cd6f8e2
Merge branch 'master' into get-address-api
2020-05-10 19:27:20 -04:00
StephenButtolph
69065c50b5
Changed sk indexing, bumped version
2020-05-10 19:26:39 -04:00
StephenButtolph
56deaf7c9d
Merge branch 'master' into get-address-api
2020-05-10 18:37:12 -04:00
StephenButtolph
ed7ea5856e
Cleaned address bytes
2020-05-10 18:37:09 -04:00
StephenButtolph
d082579393
finished race cleanup in the avm tests
2020-05-10 17:12:03 -04:00
StephenButtolph
8dd5f21847
clean up locking in the AVM / platformVM tests
2020-05-10 17:03:12 -04:00
Stephen Buttolph
4bb2325c51
Merge branch 'master' into vms-avm-shutdown-locking
2020-05-08 13:37:25 -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
Dan Laine
89f64028fc
change method name to listAddresses, per Collin's request
2020-05-06 15:40:36 -04:00
Dan Laine
a721c188a5
use asset alias in response
2020-05-04 17:06:07 -04:00
Dan Laine
d727166f4f
change response format for getAllBalances
2020-05-04 14:44:35 -04:00
Dan Laine
cbb20b2faa
return 'AVA' rather than its asset id
2020-05-04 13:59:10 -04:00
Dan Laine
9d4ed06087
add getAddresses API method on avm
2020-05-02 17:53:28 -04:00
Dan Laine
10aa724d30
don't try to sort balances since maps aren't sorted by key. simplify balance calculation since zero value of uint64 is 0.
2020-05-01 13:28:38 -04:00
Dan Laine
a0bd9cdcfb
Merge branch 'master' into list-assets
2020-05-01 12:55:16 -04:00
Alex Willmer
db56cccd4c
Merge branch 'master' into vms-avm-shutdown-locking
2020-04-28 22:16:25 +01:00
Anil Dasari
88228ac1d6
error check
2020-04-24 13:42:36 -07:00
Anil Dasari
737087f0ca
error check and go fmt
2020-04-24 13:31:12 -07:00
Alex Willmer
826a1cc06d
vms: Note potential FIXMEs in avm.VM tests
2020-04-19 14:40:30 +01:00
Alex Willmer
2eb8add469
vms: Ensure all avm.VM instances in tests get shutdown
...
I suspect these could be simplified/made more uniform, but I don't think
I fully understand the locking semantics.
2020-04-19 14:23:03 +01:00
Alex Willmer
de3fd2915b
vms: Fix deadlock when stopping timers during avm.VM.Shutdown()
...
refs #66
2020-04-19 13:54:56 +01:00
Alex Willmer
f89bcdc40c
vms: Use GenesisVM to initialise avm.Service tests
2020-04-19 13:49:53 +01:00
Alex Willmer
0f6cad33b1
vms: Add test for avm.VM.Format
2020-04-18 18:43:14 +01:00
Stephen Buttolph
5797347e6a
Merge branch 'master' into vms-avm-service-test
2020-04-16 20:35:21 -04:00
Alex Willmer
cadbd234e6
Merge branch 'vms-avm-service-test' of github.com:moreati/gecko into vms-avm-service-test
2020-04-16 20:28:05 +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
Stephen Buttolph
42baab2881
Move Geth to a plugin connected at runtime
...
* removed coreth + geth dependency for the C-chain, still have nat + crypto dependencies
* Added first past of nat traversal
* Removed go-eth dependency for secp256k1
* renamed db files to not repeat the package title
* Added rpcdb, untested
* Added rpcdb tests
* removed defer from loop
* cleaned up tests
* Started working on the rpc chain VM
* First pass of vm plugin support
* Added http over grpc
* added beta support for http handlers
* updated vms for the rpcvms
* Added error returns for factories
* Added EVM back to the genesis
* Added the EVM factory
* Added EVM aliasing, fixed nil pointer bugs during shutdown
* Added plugin folder
* Removed plugins folder, add default params for the plugin dir
* Added http RPC test
* Added cascade evm genesis
* Removed debug line
* removed more debug lines
* Cleaned up import statement
* Changed default plugin dir to ./plugins
* build evm plugin auto in the build script
2020-04-16 11:39:20 -04:00
Stephen Buttolph
67c17835fb
Merge branch 'master' into vms-avm-service-test
2020-04-15 16:15:19 -04:00
Alex Willmer
689177e113
vms: Reword timeout warning, include a link to discussion
2020-04-15 20:27:12 +01:00
Stephen Buttolph
77f7dea6fb
Merge branch 'master' into vms-avm-codecSetup
2020-04-13 14:28:57 -04:00
Alex Willmer
cd23540e4e
vms: Add test of avm.Tx.SemanticVerify with nil transaction
2020-04-13 11:19:21 +01:00
Alex Willmer
163eec2dd3
vms: Standardize on setupCodec() in avm tests
2020-04-13 11:03:31 +01:00
Alex Willmer
b8e1094309
vms: Add tests for avm.Service.GetUTXOs
2020-04-13 09:40:12 +01:00