nisdas
52cd2b04ed
sharding/utils: Changing from interfaces to rawblobs( #92 )
...
Former-commit-id: 5901594a02b82d0cd11e85593f7021d0cb0a6d62 [formerly dd57899b147bfb258557c20917b971338bc79f84]
Former-commit-id: 047157dcdaf452f1e9d329684dd632c4a44c8af6
2018-05-17 06:25:44 +08:00
nisdas
ef997fe2f3
sharding/utils: Fix Lint ( #92 )
...
Former-commit-id: eeb3e8626b2956c37b5730e4ea70898cb9a70c70 [formerly e93169c79c888f006c35b3790f7ae3707c6b2249]
Former-commit-id: 0ccbdb8530e85e13366755615b2c1d251d10f2e8
2018-05-17 06:25:43 +08:00
nisdas
17c0e79f1c
sharding: Removing Test ( #92 )
...
Former-commit-id: 24cbfacd178e77721dc50a36bec4d8c8aa0ff1cf [formerly ff1f6be335a2d30b5c7ccd309261b187fa833e4d]
Former-commit-id: 1540df8a127da2d1d12f1761022dad3162814aa1
2018-05-17 06:25:43 +08:00
nisdas
3749175c31
sharding: Cleaning up tests ( #92 )
...
Former-commit-id: 143739c759abdd01fb74539a85c5cd4abf5d1b79 [formerly d375cec6b8bfb6c08946e6bad5d423a02e554333]
Former-commit-id: 302a456f3e6045605fa32790933f999844793d68
2018-05-17 06:23:31 +08:00
nisdas
cdf89d07ae
sharding/utils : Adding Collation Methods ( #92 )
...
Former-commit-id: b59692c3ccb912131f0087a3f19cbfa88886a6e5 [formerly 7e7497f4f461a9288e83ac80633b90a25dc8a6a6]
Former-commit-id: 5f5e64a4f757ae637c2148ead844c7b3970197a2
2018-05-17 06:23:30 +08:00
nisdas
e46714c9a8
sharding/utils: Fixed serialization tests( #92 )
...
Former-commit-id: 7bc42f4bf78f03ddecd07d309699e5771bf2e501 [formerly 9367511015a33dd13d1c605c7d4da94617a0138d]
Former-commit-id: 0dd05673b86cee96f5b5d436b58584d9c78c3e0b
2018-05-17 06:20:10 +08:00
nisdas
0cf0c8b8d8
sharding/utils: Shifting to utils package( #92 )
...
Former-commit-id: 3eb0cfbf6c9c2a7ec9619d2f93c1be8ca8b670c9 [formerly 108d9e22841fc81bb11be3fd6c0f54a65c257b0c]
Former-commit-id: d128c55b6437515a3cc654f502e267f43a691cc9
2018-05-17 06:20:10 +08:00
nisdas
ba48071e2d
sharding/client: Removing errors( #92 )
...
Former-commit-id: 0c678a1778c83476c688a1bf1353aaba8cde10dc [formerly 7c5f2802600371759e1c62a64be357d05f8a2012]
Former-commit-id: 34566a72446f3e902095da0b57bf4007683068f1
2018-05-17 06:20:09 +08:00
nisdas
c25de5167d
sharding/client: Cleaning up and refining tests( #92 )
...
Former-commit-id: 45ebe18e2281496741d6b08fae04419a55f008c6 [formerly 5473045b0034020047308e3707b365c04fe35a69]
Former-commit-id: 4df6d79425d6c3ab0ad184c18063e4b35eea12de
2018-05-17 06:20:09 +08:00
nisdas
e0282e9e82
sharding/client : Adding Size Test ( #92 )
...
Former-commit-id: 553d0fc1c4e99d0c3216bcb624c9f05cdbb07e1f [formerly ecebff2ec6ab0a42c541420f26af0c069ffd0ec6]
Former-commit-id: 476e50d57067859cbbac27afd6c2cd73b7b6cb90
2018-05-17 06:20:09 +08:00
nisdas
4e5c535426
sharding/client: Fixing Tests ( #92 )
...
Former-commit-id: 85e659f3ea43c983f8df54ab8a3150a560b2dbf8 [formerly 2c0a181754a07dbda855d1da8042a09c9e9a040d]
Former-commit-id: 0198766ea1336efff88b9292b6ee1b53ef86b000
2018-05-17 06:20:09 +08:00
nisdas
1df5683734
sharding/client: Adding tests and modifying utils( #92 )
...
Former-commit-id: edbf5bd3d11b46f463bf26027178fb7d06fc13fb [formerly 73e4692d8036976d224e22e48423bf8cae9a95c1]
Former-commit-id: ca76a1ecf0fda4f66f0330277384b35ba501e3ed
2018-05-17 06:20:08 +08:00
nisdas
2026d42eec
sharding/client: Adding new comments to improve clarity( #92 )
...
Former-commit-id: 1a7affe598d4b93b0983efcfdfb48d2d6b649bcf [formerly 7ec6f8bd96042285b491d7c884d4da1c8d54674b]
Former-commit-id: beef30370be94aeb3915adee8daa75985f2df789
2018-05-17 06:20:08 +08:00
nisdas
1f341bee87
sharding/client: Finish changing Deserializebody( #92 )
...
Former-commit-id: f4afd07be086b843f857febbe127396eadfa0406 [formerly 5c8f51b8bc4d0d21e6a44bcbe5f946d051a2c9b6]
Former-commit-id: 122da75bb554d464975c13172be8d84f6a693ec0
2018-05-17 06:20:08 +08:00
nisdas
2cf1bfc2b7
sharding/client: Make serialization similar to JSON marshalling( #92 )
...
Former-commit-id: 4d236b8b6a8b9d242beaeb2c035d0fae25fb4f63 [formerly 0a9b7aa774c9e6175b6fe70859c7c861bdbe6332]
Former-commit-id: c7e62ad5effc66da4603cccaf65a789712796f04
2018-05-17 06:20:08 +08:00
nisdas
efb8f3a80f
sharding/client: Cleaning Up and adding errors( #92 )
...
Former-commit-id: 2047d553c3226550d07852d91352ba5287b86f6f [formerly 1257adb782b252461bb9f4b176e1d7f0a09f7b92]
Former-commit-id: 75ad116eb88c6d8e0e94de65ec5c137d47e6429a
2018-05-17 06:20:07 +08:00
nisdas
1129d94303
sharding/client: Adding Main serialize function( #92 )
...
Former-commit-id: abb3b3d0213daf4b6e84c880cf202bf91d04d086 [formerly d3e6aad05cba1272ab84fe9c03140d3d3b092584]
Former-commit-id: 1185e61d50a11f7fa15e986521f91856cb1df3d5
2018-05-17 06:20:07 +08:00
nisdas
256078b48e
sharding/client: Fixing deserializeblobs( #92 )
...
Former-commit-id: 956c46610107382fbf8d6447f10d47290afbeb79 [formerly 3387c9666b09f695bcde26cc236df3db03c453fa]
Former-commit-id: 4cc2bc2ac8ab198eb7fb99c773fa34d09b8b9acf
2018-05-17 06:20:06 +08:00
nisdas
e88c1343d4
sharding/client: Adding deserialize blobs( #92 )
...
Former-commit-id: f11427ff5b305c1f9ebb30b2436e75b5ff9a9dc9 [formerly 3def7d93a525e3bb8348de8fb24ad9d828580860]
Former-commit-id: 6dc530e57dc5a35ee50564ecc082d035f6ceead1
2018-05-17 06:20:06 +08:00
nisdas
92c44d455f
sharding/client: Change to serialize blobs( #92 )
...
Former-commit-id: c2dea5d8ba8c469a304a1855e1f262892b3ea0a9 [formerly 4d77a3e8815c3cd4803f4f785131c9aac86a7795]
Former-commit-id: 8b5d6485900122b46d88418a7c7f8ddabae6dd09
2018-05-17 06:20:06 +08:00
nisdas
b5454d2dca
sharding/client: Add conditions for terminal chunks( #92 )
...
Former-commit-id: d74291a1c8ce13da79aacb3e91c890554ef0c704 [formerly 03bf20998003e0beb9cc3f611d5023720c946369]
Former-commit-id: 49ebefec9aacaff995e178112504b5f77c71140f
2018-05-17 06:20:06 +08:00
nisdas
3b13a44f3a
sharding/client: Adding Parse Blob( #92 )
...
Former-commit-id: 2ae72f191f84b88ab28a0752130b591c01b7a2fd [formerly c9a496eb646c098a1b46b9880d8059a094b93574]
Former-commit-id: a1ef1e7d5f2d880c6678ca725ecd4837349a21f6
2018-05-17 06:20:05 +08:00
nisdas
ebf7a7c37e
sharding/client: Changing Validate Body( #92 )
...
Former-commit-id: 155ec90649a1226fc3a3f442014bdc29dae9d62f [formerly fe02510a1af1287d54296a4051745b02fa1aca3d]
Former-commit-id: c5d489d9e640a3460c32136809016c0a9fb970ef
2018-05-17 06:20:05 +08:00
nisdas
f2e110680d
sharding/client: Add utils.go for blob serialization( #92 )
...
Former-commit-id: 553671c1f1e1e1cb50c16fce53ecf0a5acc0595c [formerly 454f56eb8103b7a2b341ec2852c849611c55a1c0]
Former-commit-id: 1a8305e422b5dcc1173afc0ed9d81c49ce426eb0
2018-05-17 06:20:05 +08:00
Raul Jordan
a42b4f7bfa
Merge pull request #123 from rauljordan/upstream-changes
...
Merging Upstream Changes and Ensuring Tests Align
Former-commit-id: 99ca9ebed3ceae0c521b4a90c9c99715b296ca77 [formerly 41fcece8ed797491096ea19c4f5a910d9c652185]
Former-commit-id: 566a0ebc90e3992412106fc578738e51e6807043
2018-05-16 17:29:36 -04:00
Raul Jordan
dfaf005229
sharding: address linter errors
...
Former-commit-id: 70fee9bf5816e9520fb927b84ab8b93d83014869 [formerly 523192e37e40878079d7981bd28ed25f618ab0a6]
Former-commit-id: 604f33826c63ff42dd90d75bb517ed09f5d52b6a
2018-05-16 17:06:35 -04:00
Raul Jordan
fc1fb315bc
sharding: replace StringToHash and StringToAddress deprecated methods
...
Former-commit-id: ff398a7f1b661f52735aceed6cd2d52ede02fc49 [formerly 42fbcc22fc08bf6d14b7a783adc9aecfabc83c60]
Former-commit-id: de4aa4af63aa42bced0c592b6e8afec404361022
2018-05-16 16:51:45 -04:00
Raul Jordan
b9cb8a8194
sharding: fetch from upstream but keep travis the same
...
Former-commit-id: 75db983a69c7061e250b2756e5917ac5dd1ff7d2 [formerly 6e8e11322b931a70b5f2db8b5413c945834143fe]
Former-commit-id: 8de7b4c58f421e45bff2f0af167e2f2a27ddac49
2018-05-16 16:44:56 -04:00
Raul Jordan
8e4abb014a
Merge pull request #100 from rauljordan/shard-type
...
WIP: Shard Chain Type With Useful Methods for Notary/Proposer Clients
Former-commit-id: 6e12288539871b6e5077f21564a3161dfecd4c0b [formerly d7f0bdf36f28b2c1c2ae703d50a25b104d611150]
Former-commit-id: bca386803a208c1a0b8e907b0da846200755a00f
2018-05-16 16:42:19 -04:00
Raul Jordan
562db195cd
sharding: return val in SaveCollation simplified
...
Former-commit-id: 89be5b180c196bc4b965de200b4494abd5692f33 [formerly 9027cf7a563279b1fa6992732a3c2b2b5ca4c83b]
Former-commit-id: 1303c98eca9ab5da08990c3371208ac4b6217cd3
2018-05-16 13:28:50 -04:00
Raul Jordan
564ba9289b
sharding: fix return vals
...
Former-commit-id: a2f65331fc92769379c1ccedd6627b60fe9d2f09 [formerly 09821d41c9080b71c58fc875af58db8865b2790c]
Former-commit-id: 451cc1b39255039700a92b6f4c0bd6c7b5966b1f
2018-05-16 13:19:07 -04:00
Raul Jordan
3a94b098aa
sharding: remove .String() from big.Int usage
...
Former-commit-id: 67861149005f0d5184d4d1c7658796a99db307b6 [formerly 81952e0c4bfd9f4048b6c8feaed9d3189296c467]
Former-commit-id: 4b6ba49e85a83a39e82bbab42aeedbdf7521408d
2018-05-16 13:17:08 -04:00
Raul Jordan
8aa993da5b
sharding: fix broken tests
...
Former-commit-id: 22b585bd87ebb8c63808c59d0ca249d891b100c3 [formerly 1de60c6c145e96f61cbdd2d969632e2f0732568a]
Former-commit-id: 57769a0dbc37ced79e98b2c7c418bdf6ade49f93
2018-05-16 13:15:36 -04:00
Raul Jordan
e0ac2918cc
sharding: hashes collationHeaderData instead of the full header
...
Former-commit-id: 0cb0dcbd3241a34c34fd79cef2f8fec8e4ba0d5f [formerly 5e2f12a776dd956b1f98dc5a85b93a06ef22b581]
Former-commit-id: 7619acc6315efc4d71d0687b048d223a8cf4e3f7
2018-05-16 12:59:00 -04:00
Raul Jordan
8f731bfe28
sharding: merge from master
...
Former-commit-id: 946a6e98f66721064928bdfbe3a357fa9310c1a8 [formerly a3d8ebc4a85ef0d677440b55fa1445607265350a]
Former-commit-id: f5191ed0d7323c8f86b71c98ecd4b3bb1ba2c365
2018-05-16 09:50:30 -04:00
Raul Jordan
9b3a32221c
sharding: use .Hex() instead of .String() when logging hexdigests
...
Former-commit-id: 09695f12e61a3f25fa1830a445861119d236078d [formerly e79627c2af202768419df470cdc49e1a3f6cb826]
Former-commit-id: bbda4b36cceb25e765c05299d2ce96b7a6e4b275
2018-05-16 09:49:41 -04:00
Raul Jordan
54875f5389
sharding: fix typo in collation.go
...
Former-commit-id: 223f5fa3ac324327f105dff1f2912a5392980af1 [formerly ff32f9f6ff29e64467786dec0825fbc74835e319]
Former-commit-id: 8b36f30091c9314592cf85899caa3fa095ab112a
2018-05-16 01:13:06 -04:00
Raul Jordan
083c93e712
sharding: address review comments
...
Former-commit-id: 3d5cd49930ff1a07ccb544910e2b4bfeb75f04de [formerly 0275d8ec3ce981aed3ea2f88c660505e809f6b7d]
Former-commit-id: d291b375e7550f8792ece3e982f6b85da862ffed
2018-05-15 22:55:02 -04:00
Raul Jordan
b6949f8582
sharding: eliminated assumptions about db implementation
...
Former-commit-id: d17f7c367ad0c83516db37d7488eda3ad2ea3f59 [formerly 1fcd7a5bad4fe2c2dbaa5e4e200fd688227fd725]
Former-commit-id: 5d19cd72168913d681518d106e0ebe1bb2130d1c
2018-05-15 15:23:23 -04:00
Raul Jordan
77bd934efb
sharding: 93% coverage
...
Former-commit-id: f1a9fcf4fe1d11855e1dcb0a898f389dc669ab64 [formerly d255a71b60d1a939d2c7861039aace088a9fd34d]
Former-commit-id: 3671d13ffb1c71cf7c48eebedeab53fd16d4a0fb
2018-05-15 14:48:13 -04:00
Terence Tsao
591e4e9d49
sharding/contract: merge with master
...
Former-commit-id: f11d1a5d916236d9801f1cf53bb79d9814eebcb3 [formerly a0bd58da12e00a0a66cf27d8906d3dbbeb88768f]
Former-commit-id: 5c7f2c0e50def98ec052d7c413f83c3b4fb1ed14
2018-05-15 11:25:04 -07:00
Terence Tsao
89dedc3184
sharding/contract: merge with master
...
Former-commit-id: 9f271cd21ed6c7c5b3b04a9db7118d2a75f61d34 [formerly 2dc1d365b337c98aa543b6d6e8b54bf0b92d48c1]
Former-commit-id: ebaf4132fbbd00b027dacd4b9e38f2f765274b70
2018-05-15 11:22:38 -07:00
Raul Jordan
f0fb634c89
Merge pull request #121 from mikerowehl/patch-1
...
Just an awkward typo
Former-commit-id: 8002c0ac7e543bc616e496720c7444ca56cb558e [formerly f50190a188cbe0a6aac4a00eacd371eb3cb7ade2]
Former-commit-id: 90c3e21cc6a8e387c7602070eacd49012ae4524c
2018-05-15 12:09:50 -05:00
Mike Rowehl
8535c0586a
Just an awkward typo
...
Looks like a section that got revised a few times and had an extra word left in.
Former-commit-id: d9b86c256ba77e3dfcd2ea435eb6d934978285f6 [formerly cbe38de2b3b5b2a665ec0a5c5f713f5ba730742a]
Former-commit-id: c6e21757cae7a0ab2e70c31e4d838b6ced993482
2018-05-15 10:06:11 -07:00
Terence Tsao
56e90be294
sharding/contract: add balance to notary struct
...
Former-commit-id: 81d73e4fe4675b370160bd7b391dfe6fed17aaab [formerly 734e43220a976da1a88e4d19b2ec42f77020e351]
Former-commit-id: a78e3fd7b345e8f032adc03aa567250b99c2aa1e
2018-05-15 09:05:01 -07:00
Raul Jordan
6e10d9fa6d
sharding: improve coverage for #100
...
Former-commit-id: 1fc773af9e07a79f63bf63a097526a7c3303cd14 [formerly 59b4763c8b101068eacd717caa757846a481c514]
Former-commit-id: 6b8162c9c976f15e19e16fcdda7fd3d274b2e151
2018-05-14 09:53:20 -04:00
Terence Tsao
43e48290dc
sharding/contracts: merge with master
...
Former-commit-id: fd5bf9ed3f541734c2b92363468afc75eafbee47 [formerly 3b4c6447c9c673a5d58242db4c9bb8f7fc9c4221]
Former-commit-id: e438fd2911e54b652e726d1cace5d0ad640e563a
2018-05-13 16:29:21 -07:00
Terence Tsao
8bff6099c6
sharding/contracts: merge with master
...
Former-commit-id: 251eebf6cb46497e3afda66e0496ebd04593a741 [formerly 3399601d0fd7263f99ad2a6c0e9935e1ad0139a9]
Former-commit-id: e92aa0f01cd90b73684d5f3b3d8b127ae5130b1b
2018-05-13 15:53:52 -07:00
Terence Tsao
16c5158cb9
sharding/contracts: collator -> notary
...
Former-commit-id: baa704eda89c6f51e8a8419550bd1f40ef378625 [formerly 277726a6ee2d899ae2f9cc428213205531356d0a]
Former-commit-id: 8ef9b8fe4bdbf4e0f7591c458b4cb7f37b81db61
2018-05-13 15:49:06 -07:00
Preston Van Loon
5359cf04a9
Merge pull request #118 from prestonvanloon/fix/already-deposited
...
Only deposit as notary if not already deposited
Former-commit-id: eaaacb92c2f79f4664279a3bcc5973ad89241b42 [formerly b95f0e744d05df2590d868ed447fb2d8dffbceba]
Former-commit-id: 0d4c692f25a765f1e8529cdbc95d4593aeefd0f7
2018-05-13 16:36:59 -04:00