Commit Graph

338 Commits

Author SHA1 Message Date
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 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 9420e02268 getBlock returns timestamp with quotes 2020-04-10 15:39:46 -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
Alex Willmer 70e571b77c vms: add test for Service.IssueTx() 2020-04-09 00:57:43 +01:00
Alex Willmer 1161455b37 vms: Factor NewTx() out of TestIssueTx() 2020-04-09 00:55:21 +01:00
Alex Willmer e71a91d3bd vms: Facter service setup out of AVM service tests 2020-04-09 00:44:00 +01:00
Alex Willmer c93597f1d7 snow: Add test for Sender.Context() 2020-04-09 00:36:26 +01:00
Alex Willmer 86e66cf075 vms: Add TestSerializeOfNoSerializeField 2020-04-09 00:32:32 +01:00
Alex Willmer bdb5153f2d vms: Add test for uint16 serialization 2020-04-09 00:31:50 +01:00
Alex Willmer ce5bc64afa snow: Add tests for Transitive.Shutdown() 2020-04-09 00:27:35 +01:00
Stephen Buttolph 540c826ec7
Merge pull request #42 from ava-labs/cascade
Cascade
2020-04-08 15:16:14 -04:00
Stephen Buttolph bdf62055e5
Merge branch 'master' into cascade 2020-04-08 15:15:52 -04:00
Stephen Buttolph 916451a815
Merge pull request #41 from StephenButtolph/nftfx
Nftfx
2020-04-08 15:15:38 -04:00
Stephen Buttolph 24cb182a92
Merge branch 'master' into nftfx 2020-04-08 15:15:31 -04:00
Stephen Buttolph c45fa2b109
Merge pull request #40 from StephenButtolph/x-p-swaps
X p swaps
2020-04-08 15:15:16 -04:00
Stephen Buttolph f9b25c01a5
Merge branch 'master' into x-p-swaps 2020-04-08 15:15:03 -04:00