-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RON-313] docs(README): update overview and contributions #158
Commits on Aug 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 47fe1c6 - Browse repository at this point
Copy the full SHA 47fe1c6View commit details
Commits on Aug 11, 2022
-
[RON-156] feat(consortiumV2): implement Engine interface for Consorti…
…um wrapper (#90) * feat(consortiumV2): implement Engine interface just implement empty interface, function not yet * fix(consortiumV2): remove consortium v2 * fix(consortiumV2): clean up consortium v2 * feat(consortiumV2): implement Consortium wrapper for v1 * feat(consortiumV2): implement SetGetSCValidatorsFn and SetGetFenixValidators * feat(consortiumV2): implement Authorize * fix(consortiumV2): Authorize params * fix(consortiumV2): rename consortium to main for helping review
Configuration menu - View commit details
-
Copy full SHA for b2fa4a8 - Browse repository at this point
Copy the full SHA b2fa4a8View commit details -
[RON-156] feat(consortiumV2): implement Consortium v2 interface (#92)
* feat(consortiumV2): implement Consortium v2 interface * feat(consortiumV2): implement logic for Consortium wrapper to call v2 or v1
Configuration menu - View commit details
-
Copy full SHA for 1804181 - Browse repository at this point
Copy the full SHA 1804181View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69eef57 - Browse repository at this point
Copy the full SHA 69eef57View commit details
Commits on Aug 12, 2022
-
[RON-161] feat: implement function to interacting with smart contract (…
…#94) * feat(consortiumV2): implement function to interacting with smart contract directly * fix: missing new parameters * fix: missing new parameters * fix: invalid check consortium config nil * fix: use signer hash instead of hash method
Configuration menu - View commit details
-
Copy full SHA for 11c94a2 - Browse repository at this point
Copy the full SHA 11c94a2View commit details
Commits on Aug 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7a4df0a - Browse repository at this point
Copy the full SHA 7a4df0aView commit details
Commits on Aug 16, 2022
-
[RON-165] Implement Snapshot methods (#98)
* feat: implement Snapshot methods * feat: implement isMajorityFork method * chore: implement isMajorityFork method * fix: update loadSnapshot location * fix: update store location * chore: comment unused method * chore: remove RecentForkHashes property
Configuration menu - View commit details
-
Copy full SHA for 2c11cbb - Browse repository at this point
Copy the full SHA 2c11cbbView commit details -
feat: implement Consortium v2 verify methods (#99)
* feat: implement Consortium v2 verify method * refactor: comment unused check in verifyCascadingFields * refactor: use misc.VerifyGaslimit instead
Configuration menu - View commit details
-
Copy full SHA for 6c36681 - Browse repository at this point
Copy the full SHA 6c36681View commit details
Commits on Aug 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1c01b4f - Browse repository at this point
Copy the full SHA 1c01b4fView commit details -
[RON-169] feat: implement Finalize and FinalizeAndAssemble methods (#101
Configuration menu - View commit details
-
Copy full SHA for 8b79c77 - Browse repository at this point
Copy the full SHA 8b79c77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c80171 - Browse repository at this point
Copy the full SHA 2c80171View commit details
Commits on Aug 19, 2022
-
[DPoS] fix: call smart contract through backend instead of ethapi (#104)
* fix: call smart contract through backend instead of ethapi * feat: Add BlockContext to simulated backend to prevent cycle import while using it in consensus package * refactor: move contract to common * fix: case sensitive * fix: case sensitive * fix: remove NewFaker * fix: case sensitive * refactor: call opts with BlockNumber * fix: add missing header * fix: assign systemTxs to ReceivedTxs * feat (dnk90): Add balance to system address instead of coinbase, if block number is within consortiumV2 fork * update (dnk90): use IsConsortiumV2 function instead * refactor: impl Backend interface * fix: spelling mistake * refactor: eliminate magic number * refactor: call update validators * fix: checkpoint time * fix: replace manual calculation by IsOnConsortiumV2 Co-authored-by: kien Dang <kien.15@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a488119 - Browse repository at this point
Copy the full SHA a488119View commit details
Commits on Aug 21, 2022
-
Fix: add update validators to
finalize
method (#106)* fix: Add updateValidators to `Finalize` method to make sure `updateValidators` transaction is processed in received sides * fix: wrong validation when calling updateValidations
Configuration menu - View commit details
-
Copy full SHA for 284a08d - Browse repository at this point
Copy the full SHA 284a08dView commit details -
fix: update validators generated code (#107)
- Add `addNode` function to support adding new nodes - Change NewContractIntegrator param from `*ConsortiumBackend` to `bind.ContractBackend` interface to make it more flexible (we can adapt different backends lately)
Configuration menu - View commit details
-
Copy full SHA for 38e4cf7 - Browse repository at this point
Copy the full SHA 38e4cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c045ab - Browse repository at this point
Copy the full SHA 9c045abView commit details
Commits on Aug 22, 2022
-
Fix pointer issue validating end of v1 (#109)
* fix: worker starts before getValidatorsSC is set * fix: call `SetGetSCValidatorsFn` instead of `SetGetFenixValidators` in `Consortium.SetGetSCValidatorsFn` * fix: pointer issue when validating current block is end of v1 or not
Configuration menu - View commit details
-
Copy full SHA for e5b4e18 - Browse repository at this point
Copy the full SHA e5b4e18View commit details
Commits on Aug 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a50253 - Browse repository at this point
Copy the full SHA 4a50253View commit details -
[RON-202] feat: implement CalcDifficulty and Delay methods (#112)
* feat: implement Seal method * feat: implement CalcDifficulty and Delay methods * chore: add switch condition for Delay and Author
Configuration menu - View commit details
-
Copy full SHA for 538cd07 - Browse repository at this point
Copy the full SHA 538cd07View commit details -
Chore: Add sign tx fn to contract integrator (#110)
* chore: Add signFnTx to contract integrator, add deploy validators to generated validators * fix: change FinanlizeAssemble that returns receipts to apply changing receipts length during processing system contracts * fix: change gas limit * fix: Add check recent to v1/verifySeal * chore: Add contract_test which contains deploy and addNode codes * fix: applying v2 contract from v1
Configuration menu - View commit details
-
Copy full SHA for d629b9a - Browse repository at this point
Copy the full SHA d629b9aView commit details
Commits on Aug 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f4ceaae - Browse repository at this point
Copy the full SHA f4ceaaeView commit details -
fix: Implement
PoSA
interface methods to main Consortium (#114)* fix: Implement `PoSA` interface methods to main Consortium in order to get system contracts in v2 * chore: Remove unnecessary line
Configuration menu - View commit details
-
Copy full SHA for bb4573c - Browse repository at this point
Copy the full SHA bb4573cView commit details
Commits on Aug 26, 2022
-
nit: Remove redundant codes (#115)
- Remove redundant logs - Remove systemcontracts package - Move generated_contracts to consortium package
Configuration menu - View commit details
-
Copy full SHA for 77bfe54 - Browse repository at this point
Copy the full SHA 77bfe54View commit details
Commits on Sep 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 791752d - Browse repository at this point
Copy the full SHA 791752dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50b8035 - Browse repository at this point
Copy the full SHA 50b8035View commit details
Commits on Sep 5, 2022
-
fix: reorgs and incorrect nonce in consortium-v2 (#118)
* fix: reorgs and incorrect nonce in consortium-v2 * chore: Remove getValidatorsFromLastCheckpoint, use snapshot instead
Configuration menu - View commit details
-
Copy full SHA for 50ad714 - Browse repository at this point
Copy the full SHA 50ad714View commit details
Commits on Sep 6, 2022
-
chore: check signer in turn in
Seal
function instead of use `signer……InTurn` function (#119)
Configuration menu - View commit details
-
Copy full SHA for 0eeea95 - Browse repository at this point
Copy the full SHA 0eeea95View commit details
Commits on Sep 8, 2022
-
feat: integrate smart contract (#120)
* feat: integrate smart contract * chore: remove dposStaking config * chore: change generated contract from PascalCase to snake_case * chore: remove validators contract * chore: remove contract tests * chore: add comment to avoid misleading
Configuration menu - View commit details
-
Copy full SHA for 7df546e - Browse repository at this point
Copy the full SHA 7df546eView commit details
Commits on Sep 13, 2022
-
Run FinalizeAndAssemble only on validator node (#122)
We accept that the system transactions will not be in the pending state so it is unnecessary to call FinalizeAndAssemble in non-validator node. Move this call to be called only on validator node
Configuration menu - View commit details
-
Copy full SHA for 12f331c - Browse repository at this point
Copy the full SHA 12f331cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e3bdff - Browse repository at this point
Copy the full SHA 0e3bdffView commit details
Commits on Sep 16, 2022
-
chore: fix missing signTxFn, clear outdated recents, check missing tx (…
…#125) * chore: fix missing signTxFn, clear outdate recents, check missing tx in state_processor * chore: check tx.To instead of tx
Configuration menu - View commit details
-
Copy full SHA for 5bd6e4d - Browse repository at this point
Copy the full SHA 5bd6e4dView commit details -
Make copy of block header when passing it to FinalizeAndAssemble (#126)
As default, an empty block without applying any transactions in transaction pool is committed for sealing. Later, if there is no pending transactions in pool, that empty block is inserted. Otherwise, another block is committed. As we currently pass block header as a pointer to FinalizeAndAssemble, that block header can be edited twice because it goes through FinalizeAndAssemble twice. This leads to system transactions' gas used is accumulated twice, later results in the mismatch between local and remote block's gas used calculation. We fix this issue by make a copy of block header before passing it to FinalizeAndAssemble.
Configuration menu - View commit details
-
Copy full SHA for 9fcf043 - Browse repository at this point
Copy the full SHA 9fcf043View commit details
Commits on Sep 23, 2022
-
[RON-250] fix: backward compatible with v1 snapshot (#128)
* fix: load snapshot v1 * fix: store snapshot with the key consortium- * chore(snapshot): remove check condition at block 0 and fork * Choose the correct consortium version of ecrecover to be used on block header * Log slashing on finalize only, add some comments on snapshot Co-authored-by: Bui Quang Minh <minhbui@axieinfinity.com>
Configuration menu - View commit details
-
Copy full SHA for 3730672 - Browse repository at this point
Copy the full SHA 3730672View commit details -
[RON-251] fix: unknown ancestor (#129)
* fix: unknown ancestor * chore: remove unused log * fix: remove line on comment * fix: remove unnecessary comment
Configuration menu - View commit details
-
Copy full SHA for 4101855 - Browse repository at this point
Copy the full SHA 4101855View commit details -
Remove unused variables and functions (#130)
* Remove unused variables and functions * Remove deadcode when checking system transactions
Configuration menu - View commit details
-
Copy full SHA for 6f99ab1 - Browse repository at this point
Copy the full SHA 6f99ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f1c3d6 - Browse repository at this point
Copy the full SHA 3f1c3d6View commit details
Commits on Sep 29, 2022
-
feat: Implement log precompiled contract (#134)
* feat: Implement log precompiled contract * chore: minify consortiumLog's abi * chore: Add consortium precompiled contracts to list * chore: only allow log in debug mode (--vmdebug or `DEBUG` env is set to "true") * chore: Remove redundant function which get method from abi and input
Configuration menu - View commit details
-
Copy full SHA for 9fc303a - Browse repository at this point
Copy the full SHA 9fc303aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b47da9b - Browse repository at this point
Copy the full SHA b47da9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3af0957 - Browse repository at this point
Copy the full SHA 3af0957View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25dbc17 - Browse repository at this point
Copy the full SHA 25dbc17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8352824 - Browse repository at this point
Copy the full SHA 8352824View commit details
Commits on Oct 3, 2022
-
feat: Implement
sortValidators
precompiled contract (#138)* feat: Implement `sortValidators` precompiled contract * fix: add caller to the contract, since caller is the actual caller instead of sender from transaction * chore: add testcase which simulates a call from a user who trigger system contract to call `sort` precompiled contract * fix: incorrect get validators function should be `getValidatorCandidates` instead
Configuration menu - View commit details
-
Copy full SHA for 0eea767 - Browse repository at this point
Copy the full SHA 0eea767View commit details -
[RON-264] docs(contract): add code comments (#139)
* docs(contract): add comments * docs(contract): update comment for GetValidators
Configuration menu - View commit details
-
Copy full SHA for 89dde97 - Browse repository at this point
Copy the full SHA 89dde97View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4be6f2 - Browse repository at this point
Copy the full SHA b4be6f2View commit details
Commits on Oct 7, 2022
-
feat: Implement verifyHeaders precompiled contract which detects doub…
…le signing issue (#143) * feat: Implement verifyHeaders precompiled contract which detects double signing issue * chore: Remove unnecessary log init * chore: simplify unit test, add chainId and change Number to big.Int * chore: clean up code * nit: comment to hacky (`unpack`) function * chore: Add condition signer must equal to coinbase to prevent user uses fake signature
Configuration menu - View commit details
-
Copy full SHA for 73c5780 - Browse repository at this point
Copy the full SHA 73c5780View commit details
Commits on Oct 12, 2022
-
[RON-274] docs(v2consortium): add code comments (#140)
* docs(v2consortium): add code comments * docs(v2consortium): update Close comment * docs(v2consortium): fix typo error
Configuration menu - View commit details
-
Copy full SHA for e474e1e - Browse repository at this point
Copy the full SHA e474e1eView commit details -
[RON-276] docs(consortium-main): add code comment, remove unused cons…
…tant (#141) * docs(consortium-main): add code comment, remove unused ValidatorBytesLength constant * docs(consortium-main): fix typo
Configuration menu - View commit details
-
Copy full SHA for c140273 - Browse repository at this point
Copy the full SHA c140273View commit details
Commits on Oct 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5f1499c - Browse repository at this point
Copy the full SHA 5f1499cView commit details
Commits on Oct 14, 2022
-
[RON-299] fix: update sortSC precompiled requirements (#151)
* fix: align precompiled requirements * test: update TestConsortiumValidatorSorting_Run2 * test: update compiled code * chore(precompiled): update consortiumValidatorSorting comments
Configuration menu - View commit details
-
Copy full SHA for 5c1b212 - Browse repository at this point
Copy the full SHA 5c1b212View commit details -
Configuration menu - View commit details
-
Copy full SHA for 397d0d6 - Browse repository at this point
Copy the full SHA 397d0d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ceabe7 - Browse repository at this point
Copy the full SHA 8ceabe7View commit details
Commits on Oct 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fea4017 - Browse repository at this point
Copy the full SHA fea4017View commit details
Commits on Nov 8, 2022
-
Merge branch 'consortium-v2' into RON-313-update-readme
# Conflicts: # consensus/consortium/common/contract.go # consensus/consortium/generated_contracts/ronin_validator_set/ronin_validator_set.go # consensus/consortium/generated_contracts/slash_indicator/slash_indicator.go # consensus/consortium/v2/consortium.go # core/vm/consortium_precompiled_contracts.go # core/vm/consortium_precompiled_contracts_test.go # docker/chainnode/entrypoint.sh # genesis/devnet.json # miner/worker.go
Configuration menu - View commit details
-
Copy full SHA for 7d7b6e1 - Browse repository at this point
Copy the full SHA 7d7b6e1View commit details
Commits on Nov 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 832c742 - Browse repository at this point
Copy the full SHA 832c742View commit details