Commit Graph

120 Commits

Author SHA1 Message Date
Dan Laine 6c6136d551 only downsize underlying arrays if they're much too large 2020-06-23 16:44:02 -04:00
Dan Laine 19a3f69e99 Merge branch 'duplicated-writes' into memory-improvements 2020-06-23 13:10:01 -04:00
Dan Laine c9aa8eedc2 pre-allocate arrays 2020-06-22 16:50:31 -04:00
StephenButtolph 473bef24b1 removed duplicated batch writes, fixed tests 2020-06-22 15:50:52 -04:00
StephenButtolph be6be7ae1c reverted breaking changes 2020-06-18 01:45:58 -04:00
Gabriel Cardona f40fa7d7e6 Formatting. 2020-06-17 10:21:11 -07:00
Aaron Buchwald 077afc20e7
Adjust delegator test cases 2020-06-17 13:16:37 -04:00
Gabriel Cardona 82b91e5244 Add tests for platform.addDefaultSubnetDelegator for confirming tx fails when attempting to delegate too much as well as confirming balance is correct after delegating. 2020-06-17 10:00:41 -07:00
Gabriel Cardona 553bc117b0 Merge branch 'master' into patch-add-default-subnet-delegator-tx 2020-06-17 04:37:05 -07:00
Stephen Buttolph 284d0ee765
Merge branch 'master' into codec-upgrade 2020-06-16 00:45:20 -04:00
Stephen Buttolph 93cb630a6f
Merge branch 'master' into log-level-and-format 2020-06-16 00:19:59 -04:00
Gabriel Cardona aa5422696e Set helpers to Debug log level. 2020-06-15 21:14:54 -07:00
Aaron Buchwald b950f016d8
Fix platform bootstrapped function to initialize fx 2020-06-15 21:53:29 -04:00
Gabriel Cardona ef0b9bfb1e Merge branch 'master' into log-level-and-format 2020-06-15 15:07:44 -07:00
Dan Laine 18c0b0a65b move codec to utils 2020-06-15 13:20:30 -04:00
Gabriel Cardona cdac10c23b Fix typos. 2020-06-15 09:45:21 -07:00
Gabriel Cardona f59f45a20f Make all RPC call logs `Info` level. 2020-06-15 09:35:41 -07:00
Gabriel Cardona d85ef87695 * Use Debug log level for all RPC calls
* Use convention: [vm/api: function_name called...]. Ex: "Platform: SampleValidators called...
2020-06-13 11:06:32 -07:00
Aaron Buchwald 750f7b2120
Improve error message in platform API IssueTx call 2020-06-12 13:49:26 -04:00
Aaron Buchwald 26f5503a43 Add test to ensure IssueTx maintains ordering of unissued events heap 2020-06-12 12:58:35 -04:00
Aaron Buchwald e15c1bad8c Use Add instead of Push to correctly order timed txs in event heap 2020-06-12 12:58:35 -04:00
Gabriel Cardona 3d60db3a05 Subtract from balance when adding a default subnet delegator. 2020-06-11 13:14:02 -07:00
StephenButtolph 8ed43f464c Added switch for temporary and permanent errors in proposal blocks 2020-06-08 18:57:05 -04:00
Dan Laine f8c202e4be don't mark blocks with advanceTimeTxs as rejected if the tx fails verification 2020-06-08 17:11:53 -04:00
StephenButtolph c86838f2e8 Moved rpcchainvm logs to live under their chain 2020-06-08 11:53:55 -04:00
StephenButtolph 6c12d5ffa5 updated test to use strings rather than IDs 2020-06-07 18:27:45 -04:00
Stephen Buttolph a8d40fedb7
Merge pull request #54 from ava-labs/platform-keys
Platform API update
2020-06-07 16:27:07 -04:00
Aaron Buchwald f7747db2e5
Remove P- prefix 2020-06-07 14:52:02 -04:00
StephenButtolph b73e087f9d Cache that blocks are rejected if they are invalid 2020-06-07 02:05:14 -04:00
StephenButtolph 11520fa704 merged 2020-06-07 01:08:53 -04:00
StephenButtolph aab9005d68 fixed tests 2020-06-06 12:23:54 -04:00
Dan Laine d69a875039 fix/add unit tests. All pass 2020-06-05 18:03:34 -04:00
Aaron Buchwald 80ae0ee400
Fix handling of default subnet ID 2020-06-04 19:58:55 -04:00
Aaron Buchwald 3c38ccf1d6 Add P- prefix to P-chain addresses in platform API 2020-06-04 19:46:45 -04:00
Aaron Buchwald b6d8ebefe6
Implement import and export key for platform api 2020-06-03 21:04:01 -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 d088a9b29a Merge branch 'add-address-get-validators' into denali 2020-05-30 16:04:58 -04:00
StephenButtolph 1abf68cee2 changed logs to returned errors 2020-05-30 16:04:40 -04:00
StephenButtolph dedc3b20a6 Added shutdown timeouts 2020-05-29 18:32:17 -04:00
Dan Laine 4142160b8c add address that staked funds/reward are sent to to getCurrentValidators and getPendingValidators 2020-05-29 16:57:08 -04:00
StephenButtolph 6318186848 wip currently has a deadlock error 2020-05-28 23:48:08 -04:00
StephenButtolph 537e72714f Added returned errors to Accept and Reject in decidables 2020-05-26 13:25:34 -04:00
StephenButtolph 503c90e839 Clean up the acceptance of atomic blocks 2020-05-18 11:33:58 -04:00
StephenButtolph 56bbee491c Merge branch 'master' into less-logs 2020-05-12 14:02:49 -04:00
StephenButtolph 0c2354dbae Fixed race in platformvm repolling 2020-05-11 22:24:28 -04:00
Stephen Buttolph 81fd81e055
Merge branch 'master' into platform_nil_shortids 2020-05-11 14:09:59 -04:00
Stephen Buttolph c473098d2a
Merge branch 'master' into api-error-checking 2020-05-10 19:28:00 -04:00
StephenButtolph 8dd5f21847 clean up locking in the AVM / platformVM tests 2020-05-10 17:03:12 -04:00
Stephen Buttolph b1533fd05d
Merge branch 'master' into vms-avm-shutdown-locking 2020-05-10 15:43:10 -04:00