Commit Graph

701 Commits

Author SHA1 Message Date
StephenButtolph 1092abe844 Changed to support 1-way connections 2020-04-18 20:34:19 -04:00
Alex Willmer 0f6cad33b1 vms: Add test for avm.VM.Format 2020-04-18 18:43:14 +01:00
Dan Laine 77341d622f change SN to chain in chain logs 2020-04-17 18:13:30 -04:00
Stephen Buttolph eacdf54efc
Merge pull request #73 from StephenButtolph/cascade-release
Cascade release
2020-04-17 12:24:37 -04:00
Stephen Buttolph bf3741e60b
Merge branch 'master' into cascade-release 2020-04-17 12:24:29 -04:00
StephenButtolph c3230b9e46 Resolve nil pointer error on the rpcchainvm 2020-04-17 10:39:08 -04:00
Stephen Buttolph c735557231
Merge pull request #72 from ava-labs/proto-cleanup
resolve proto conflicts
2020-04-17 09:56:06 -04:00
StephenButtolph 8b86d15850 resolve proto conflicts 2020-04-17 09:47:19 -04:00
StephenButtolph d4996b5a3a Reduced log level of missing parent block 2020-04-17 04:20:24 -04:00
StephenButtolph f40ea1ef45 Changed default values to cascade 2020-04-17 03:51:14 -04:00
Stephen Buttolph 4dfdbc6a55
Merge pull request #71 from StephenButtolph/remove-install-warning
Remove install warning
2020-04-17 03:14:23 -04:00
Stephen Buttolph 4244384b52
Merge branch 'master' into remove-install-warning 2020-04-17 03:05:47 -04:00
StephenButtolph aebb1164dc Removed warning 2020-04-17 03:04:35 -04:00
StephenButtolph 98ad6dab99 Merge branch 'master' into remove-install-warning 2020-04-17 03:02:45 -04:00
Stephen Buttolph 1bc8ac8c4f
Merge pull request #59 from moreati/vms-avm-service-test
vms: Add tests for AVM Service.IssueTx, Service.GetTxStatus
2020-04-17 02:59:38 -04:00
Stephen Buttolph be90dc71be
Merge branch 'master' into vms-avm-service-test 2020-04-17 02:51:01 -04:00
Stephen Buttolph adebf8bb80
Merge pull request #70 from StephenButtolph/fix-oversized-message
Fix oversized message
2020-04-17 02:50:44 -04:00
StephenButtolph dde8e97590 Merge branch 'master' into fix-oversized-message 2020-04-17 02:41:20 -04:00
Stephen Buttolph 393f888e5d
Merge pull request #69 from StephenButtolph/wsrpc
Support websockets over the grpc
2020-04-17 02:39:26 -04:00
StephenButtolph 2f0b10530d Support websockets over the grpc 2020-04-17 02:03:17 -04: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 e5252c13e2
Merge pull request #68 from ava-labs/geth-plugin
Move Geth to a plugin connected at runtime
2020-04-16 12:00:51 -04: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
StephenButtolph ad1e8b75e5 Increased the reconnect timeout to ease network upgrades 2020-04-15 17:49:08 -04:00
StephenButtolph 0933380c99 Correctly configure the max message size for non-staking networks 2020-04-15 16:54:39 -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 e750d442cf
Merge pull request #64 from moreati/vms-avm-codecSetup
vms: Standardize on setupCodec() in avm tests
2020-04-14 13:58:08 -04:00
Stephen Buttolph 77f7dea6fb
Merge branch 'master' into vms-avm-codecSetup 2020-04-13 14:28:57 -04:00
Stephen Buttolph cb49d31008
Merge pull request #65 from moreati/vms-avm-txnil-semanticverify
vms: Add test of avm.Tx.SemanticVerify with nil transaction
2020-04-13 14:28:45 -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 4bf628a8de Merge branch 'vms-avm-service-test' of github.com:moreati/gecko into vms-avm-service-test 2020-04-13 09:45:26 +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 9c44546dee Merge branch 'master' into vms-avm-service-test 2020-04-12 22:12:33 +01:00
Stephen Buttolph a8b3efd4bf
Merge branch 'master' into list-assets 2020-04-12 00:07:15 -04:00
Stephen Buttolph 12aa3897b3
Merge pull request #62 from ava-labs/timestamp-api-fix
Make GetBlock API method return timestamp with quotes
2020-04-12 00:06:21 -04:00
Dan Laine 53b29745b6 rename method to GetAllBalances; change return type to map 2020-04-10 16:05:11 -04:00
Dan Laine 9420e02268 getBlock returns timestamp with quotes 2020-04-10 15:39:46 -04:00
Dan Laine bfe72ecf1c add ListAssets API method 2020-04-10 14:48:38 -04:00
Stephen Buttolph 7dd42eae2b
Merge branch 'master' into vms-avm-service-test 2020-04-10 00:07:10 -04:00
Stephen Buttolph 3d99496ae7
Merge pull request #58 from moreati/vms-serialize-test
vms: Add tests for serilization of uint16 and fields marked serialize:"false"
2020-04-10 00:02:39 -04:00
Stephen Buttolph ddb4b7614d
Merge branch 'master' into vms-serialize-test 2020-04-09 22:31:02 -04:00
Stephen Buttolph 7045059b10
Merge pull request #60 from moreati/test-engine-shutdown
snow: Add tests for Transitive.Shutdown()
2020-04-09 22:26:05 -04:00
Stephen Buttolph f46e06f335
Merge branch 'master' into test-engine-shutdown 2020-04-09 18:21:38 -04:00
Stephen Buttolph fef453405c
Merge pull request #57 from moreati/snow-networking-test
snow: Add test for Sender.Context()
2020-04-09 18:20:00 -04:00
Alex Willmer 208195bf34 vms: add test for Service.GetTxStatus() 2020-04-09 00:58:30 +01:00