Commit Graph

187 Commits

Author SHA1 Message Date
Stephen Buttolph 36f4d6f70a
Merge branch 'master' into x-p-swaps 2020-04-01 14:26:43 -04:00
Stephen Buttolph f6f5c05dd1
Merge pull request #44 from moreati/utils-formatting-test
utils: Add tests for CB58.UnmarshalJSON
2020-04-01 14:26:04 -04:00
Stephen Buttolph c2f8d0182b
Merge branch 'master' into utils-formatting-test 2020-04-01 14:17:55 -04:00
Stephen Buttolph f1dd9a7ddf
Merge pull request #45 from moreati/ids-test
ids: Add tests of ID and QueueSet
2020-04-01 14:17:38 -04:00
Stephen Buttolph f9752ac080
Merge branch 'master' into ids-test 2020-04-01 14:08:33 -04:00
Stephen Buttolph b138402f4c
Merge pull request #43 from bb-2/error_msgs
Logging message fix
2020-04-01 14:08:11 -04:00
Alex Willmer 507bbd8d0a ids: Add tests for QueueSet.{init, SetHead, Append, GetTail} 2020-04-01 19:00:20 +01:00
Alex Willmer 0c30a3235f ids: Add test for ID.IsSortedAndUniqueIDs 2020-04-01 18:58:58 +01:00
Alex Willmer 61b01c9273 ids: Add test for SortIDs 2020-04-01 18:58:12 +01:00
Alex Willmer a62eb9b833 ids: Add test for ID.String 2020-04-01 18:57:40 +01:00
Alex Willmer 6f111f9dae ids: Add test for ID.Hex 2020-04-01 18:56:41 +01:00
Alex Willmer 63a4915f40 ids: Add test for ID.UnmarshalJSON 2020-04-01 18:56:03 +01:00
Alex Willmer 0ea1dc0c50 ids: Add test for ID.MarshalJSON 2020-04-01 18:55:24 +01:00
Alex Willmer 8a2d8a6f94 ids: Add test for ID.FromString errors 2020-04-01 18:51:01 +01:00
Alex Willmer d90baa383c utils: Add tests for CB58.UnmarshalJSON 2020-04-01 18:48:59 +01:00
bb-2 f288c544a6 sp fix for voting_handler logging message 2020-04-01 09:18:56 -04:00
StephenButtolph 4d34dc042d merged 2020-03-30 22:06:29 -04:00
StephenButtolph 3056998643 enforced unneeded signature requirement 2020-03-30 21:28:19 -04:00
StephenButtolph 7810cd56b9 merged 2020-03-30 21:16:32 -04:00
Stephen Buttolph c1357a9eba
Merge branch 'master' into custom-genesis 2020-03-30 21:06:10 -04:00
Stephen Buttolph e8c6188b27
Merge pull request #33 from StephenButtolph/json
Added proper json marshalling of UniqueTxs in the AVM
2020-03-30 20:58:26 -04:00
Stephen Buttolph 9f553be087
Merge branch 'master' into json 2020-03-30 20:35:14 -04:00
Stephen Buttolph e0e11b939f
Merge pull request #34 from bb-2/concurrent_repolling
Add ConcurrentRepolls to make the polling throughput configurable
2020-03-30 20:34:54 -04:00
Dan Laine d9480e5a24 Merge branch 'custom-genesis' of github.com:ava-labs/gecko-internal into custom-genesis 2020-03-30 19:16:31 -04:00
Stephen Buttolph 1b6a703c27
Merge branch 'master' into concurrent_repolling 2020-03-30 15:10:33 -04:00
Dan Laine 468c47739d made changes requested in PR review 2020-03-30 09:14:12 -04:00
bb-2 c49b0c0ff6 Issue multiple polls at vertex/block issuance if below ConcurrentRepoll threshold 2020-03-29 21:00:45 -04:00
Stephen Buttolph 6c549d1504
Merge pull request #36 from moreati/utils-clock_test
utils: Add unit tests for clocks
2020-03-29 15:57:26 -04:00
Stephen Buttolph 1d3238a048
Merge branch 'master' into utils-clock_test 2020-03-29 14:35:37 -04:00
Stephen Buttolph 51db41a696
Merge pull request #38 from moreati/utils-packing_test
utils: Tests for Packer packing and unpacking
2020-03-29 14:34:41 -04:00
Stephen Buttolph e63037e66d
Merge branch 'master' into utils-packing_test 2020-03-29 14:26:16 -04:00
Stephen Buttolph a8dadacae9
Merge pull request #35 from moreati/aws-create-argparse
scripts: Parse create.py arguments with argparse
2020-03-29 14:25:40 -04:00
Alex Willmer 8f54a7c1d8 utils: Initialise Clock with go defaults in TestClockSet
Changed to be more idiomatic, addresses PR feedback.
2020-03-29 19:20:28 +01:00
Stephen Buttolph ce36715019
Merge branch 'master' into aws-create-argparse 2020-03-29 13:53:02 -04:00
Stephen Buttolph 209363ba67
Merge branch 'master' into utils-packing_test 2020-03-29 13:45:02 -04:00
Stephen Buttolph 4dcf02e45e
Merge pull request #37 from moreati/utils-safe_math_test
utils: Add tests in safe_math: Max64, Min64, Sub64, Diff64
2020-03-29 13:33:35 -04:00
Alex Willmer 12117b1728 utils: Add test for Packer.Expand 2020-03-29 17:43:18 +01:00
Alex Willmer 18b7662266 utils: Add test for Packer.CheckSpace 2020-03-29 17:42:47 +01:00
Alex Willmer 96109a60ea utils: Add tests for Packer.PackBool & UnpackBool 2020-03-29 17:42:12 +01:00
Alex Willmer 55cb9d174f utils: Add tests for Packer.PackFixedByteSlices & UnpackFixedByteSlices 2020-03-29 17:40:47 +01:00
Alex Willmer ae9c1549d0 utils: Add tests for Packer.PackBytes & UnpackBytes 2020-03-29 17:39:32 +01:00
Alex Willmer 66b031efc6 utils: Add tests for Packer.PackFixedBytes & UnpackFixedBytes 2020-03-29 17:10:16 +01:00
Alex Willmer 3914613731 utils: Add test for Packer.UnpackLong 2020-03-29 17:07:53 +01:00
Alex Willmer 9a4a44a764 utils: Add test for Packer.UnpackInt 2020-03-29 17:06:25 +01:00
Alex Willmer 80e6749592 utils: Add test for Packer.UnpackShort 2020-03-29 17:05:03 +01:00
Alex Willmer cd59668be5 utils: Add test for Packer.UnpackByte 2020-03-29 17:04:21 +01:00
Alex Willmer aef48061c5 utils: Add tests in safe_math: Max64, Min64, Sub64, Diff64 2020-03-29 16:57:42 +01:00
Alex Willmer 52e3d427a1 utils: Add unit tests for clocks 2020-03-29 16:53:55 +01:00
Alex Willmer a718b32c6a scripts: Add a hashbang, so aws create.py can be run directly 2020-03-29 16:42:01 +01:00
Alex Willmer bf1a94611e scripts: Use argparse for create.py arguments
This gives better feedback on what arguments are required

$ python3 scripts/aws/create.py
usage: create.py [-h] numBootstraps numNodes
create.py: error: the following arguments are required: numBootstraps,
numNodes

$ python3 scripts/aws/create.py -h
usage: create.py [-h] numBootstraps numNodes

Start a number of AVA nodes on Amazon EC2

positional arguments:
  numBootstraps
  numNodes

optional arguments:
  -h, --help     show this help message and exit
2020-03-29 16:39:51 +01:00