Commit Graph

119 Commits

Author SHA1 Message Date
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
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
Stephen Buttolph 1b6a703c27
Merge branch 'master' into concurrent_repolling 2020-03-30 15:10:33 -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
bb-2 6bde51cb7c fix formatting errors 2020-03-28 17:03:45 -04:00
bbuttrick 7b8b690df5 Add a ConcurrentRepolls variable to make the polling throughput configurable with a minimum threshold 2020-03-28 16:55:11 -04:00
StephenButtolph 3847e64a0a Fixed xput test 2020-03-27 17:10:37 -04:00
StephenButtolph a0b999950d removed json dump in unit test 2020-03-27 16:56:43 -04:00
StephenButtolph 4b36f9d041 Added proper json marshalling of UniqueTxs in the AVM 2020-03-27 16:54:47 -04:00
Stephen Buttolph 1fe5092e9b
Merge pull request #32 from StephenButtolph/slush
Slush
2020-03-27 14:10:49 -04:00
Stephen Buttolph baafd591d0
Merge branch 'master' into slush 2020-03-27 14:02:08 -04:00
Stephen Buttolph e5484e2ba8
Merge pull request #30 from danlaine/codec-bug-fix
fix https://github.com/ava-labs/gecko/issues/29
2020-03-26 19:27:57 -04:00
Stephen Buttolph 857fdfbd64
Merge branch 'master' into codec-bug-fix 2020-03-26 19:19:14 -04:00
Stephen Buttolph ce87da1438
Merge pull request #31 from christroutner/master
Fixing docker container example command
2020-03-26 19:18:14 -04:00
Chris Troutner 976db1ec91 Fixing docker container example command 2020-03-26 16:02:30 -07:00
Dan Laine c1abff8c3d fix bug where unmarshalling into improper type causes panic. Add test for this 2020-03-26 15:14:45 -04:00
Stephen Buttolph 541f762b55
Merge pull request #28 from StephenButtolph/bootstrap-oboe
Fixed off by one error in bootstrapping Alpha value
2020-03-25 12:46:59 -04:00
Stephen Buttolph 17d3c397ca
Merge branch 'master' into bootstrap-oboe 2020-03-25 10:48:32 -04:00