Commit Graph

164 Commits

Author SHA1 Message Date
ChronosX88
708c0559c7
Fix NPE when receiving commit message of unknown consensus 2021-04-21 22:37:32 +03:00
ChronosX88
bfce1b715a
Add unit test for DioneDispute contract 2021-04-21 00:40:47 +03:00
ChronosX88
0114f53f6d
Fix slashMiner in DioneStaking 2021-04-21 00:40:27 +03:00
ChronosX88
4b3aa6df57
Fix unexpected reverts and implement customizable vote window time in DioneDispute contract 2021-04-21 00:39:47 +03:00
ChronosX88
b1cfc81cf7
Implement customizing dispute vote window time in dione config 2021-04-21 00:38:54 +03:00
ChronosX88
fb22d3c4e3
Return Mediator contract back 2021-04-19 22:46:49 +03:00
ChronosX88
f0ecad1cbf
Reduce params count for submission in DioneOracle contract, fix small stupid bugs in dione 2021-04-19 22:46:17 +03:00
ChronosX88
acf6a5cdcb
Add additional loggin when starting node 2021-04-19 22:35:40 +03:00
ChronosX88
1b5f9a0d30
Fix some consensus code which was broken by refactoring 2021-04-16 00:01:27 +03:00
ChronosX88
9fcd925dcb
Cleanup eth-contracts 2021-04-15 02:14:13 +03:00
ChronosX88
03f1b85170
Drop Embark, move to Hardhat, write fully automated deployment script 2021-04-15 02:04:28 +03:00
ChronosX88
1f83763b70
Update .gitignore 2021-04-15 02:01:07 +03:00
ChronosX88
2441d2ca40
Implement deriving eth private key from mnemonic phrase 2021-04-15 00:04:21 +03:00
ChronosX88
8618f631f4
Prepare eth contracts for Solidity 0.8.X, migrate to Embark framework 2021-04-14 00:22:30 +03:00
ChronosX88
4006a2effa
Implement initialization of dispute manager in node 2021-03-17 17:31:27 +03:00
ChronosX88
480f85fc7b
Fix dependency hell - go-ethereum conflicts with drand 2021-03-17 17:31:08 +03:00
ChronosX88
35e7994da7
Implement basic version of dispute manager, slightly refactor consensus package 2021-03-15 23:39:52 +03:00
ChronosX88
56c23a9087
Cleanup old contracts from eth-contracts folder 2021-03-05 22:42:09 +03:00
ChronosX88
8d539a5aac
Update contract binding & update go-ethereum library to v1.10.0 2021-03-05 22:39:01 +03:00
ChronosX88
3f0063219f
Integrate DioneOracle contract, cherry-pick event cache implementation from master branch 2021-03-05 22:29:09 +03:00
ChronosX88
289906f73a
Generate bindings for DioneDispute contract and add to EthereumClient 2021-03-05 21:40:17 +03:00
ChronosX88
06122ccd82
Fix syntax errors in DioneDispute smart-contract 2021-03-04 21:22:29 +03:00
ChronosX88
ebc29c2078
Remove calling slashMiner when dispute result has any value 2021-03-03 01:05:29 +03:00
ChronosX88
8ead31a45e
Add simple miner slashing algorithm, add error messages to DioneDispute.sol 2021-03-03 01:04:19 +03:00
ChronosX88
21e50dd13a
Implement DioneDispute contract 2021-02-26 22:53:43 +03:00
ChronosX88
63e297a03b
Fix filecoin tx unmarshalling 2020-12-12 16:44:01 +04:00
ChronosX88
b4f5f3fb7d
Add RWMutex to all consensus messages pools to prevent concurrent access to internal data in map 2020-12-07 20:01:10 +04:00
ChronosX88
56381b08bf
Fix ordering of pubsub subsystem initialization 2020-12-07 19:22:47 +04:00
ChronosX88
2278277f76
Fix cbor marshalling/unmarshalling pubsub message (invalid UTF8 string), partly fix gossipsub (sadly, bootstrap node still doesn't see other messages in network) 2020-12-04 22:30:03 +04:00
ChronosX88
e3ce7f4175
Add warning when we don't have payload validation for specific request 2020-12-03 01:21:10 +04:00
ChronosX88
d6ab3503bc
Implement payload validation manager 2020-12-03 01:18:47 +04:00
ChronosX88
1cc5657ed1
Fix equal op in filecoin validation code 2020-12-02 18:27:50 +04:00
ChronosX88
56b8f311f3
Fix signature verify address issue 2020-12-02 18:25:06 +04:00
bahadylbekov
5a94f6d67a fix: filecoin message verification by type 2020-12-02 17:18:45 +03:00
ChronosX88
e3931c23a2
Fix some syntax issues 2020-12-02 18:09:46 +04:00
bahadylbekov
a42776be67 add: filecoin message validation, secp signature 2020-12-02 17:03:39 +03:00
ChronosX88
221cf45dad
Implement request event validation from cache 2020-12-02 17:42:02 +04:00
ChronosX88
027f060703
Implement basic event log cache 2020-12-01 01:39:06 +04:00
bahadylbekov
b4c03da4ba add: DioneOracle contract to replace Aggregator and OracleEmitter with simple oracle requests storage 2020-11-30 03:22:18 +03:00
ChronosX88
e55c19a38d
Change node initialization process: implement manual dependency injection to prevent NPE issues 2020-11-27 22:47:58 +04:00
ChronosX88
003f49174b
Implement full task validation (signatures/vrfs/wincount/etc.) 2020-11-27 20:16:08 +04:00
bahadylbekov
ab069fd34d readme: added dione operations diagram into README.md 2020-11-27 04:26:23 +03:00
Bach Adylbekov
34fb38b381
Update README.md 2020-11-27 04:15:46 +03:00
bahadylbekov
cc034cc884 fix: Proof-of-Stake mining reward on sending data to Aggregator contract 2020-11-25 21:54:59 +03:00
ChronosX88
b5893b03f4
Implement dynamic RPC client method managing 2020-11-24 01:59:27 +04:00
bahadylbekov
52ec8dbd35 add: filecoin api schema, eth-contracts types changes 2020-11-23 19:53:44 +03:00
ChronosX88
b2e956d1d4
Fix issue with consensus payload signature and slightly fix pre_prepare consensus code handling 2020-11-21 01:29:30 +04:00
ChronosX88
d38bc81dcf
Make cbor message encoding for consensus message model, slightly refactor pubsub part 2020-11-18 23:53:52 +04:00
ChronosX88
354d0dd833
Merge branch 'solana-hackathon' 2020-11-18 22:53:10 +04:00
ChronosX88
215f4d5bd9
Move RPC Response from solana/types to rpc/types 2020-11-18 22:35:34 +04:00