Evgeny Danienko
494687fc48
fix
2022-06-03 13:47:22 +03:00
Evgeny Danienko
c9a3b9971b
use typed mocks
2022-06-03 12:31:48 +03:00
Karlo
57e829fae9
avoid capping warnings for gas set by internal system transactions
2022-06-03 11:07:36 +02:00
Jerry
4ffdbfe60d
Merge pull request #417 from cffls/v0.3.0-dev-lint
...
Fix default Dockerfile for new CLI
2022-06-02 08:47:58 -07:00
Manav Darji
b19d5e109b
Merge branch 'master' into rfc35/common-ancestor-approach-units
2022-06-02 21:02:55 +05:30
Manav Darji
8255d194ae
minor fixes and enhancements
2022-06-02 16:34:46 +05:30
Manav Darji
d4e7603315
add debug rpc endpoints for checkpoint whitelist service
2022-06-02 16:23:38 +05:30
Jerry
96ac8d16d4
Overwrite default config with CLI input even when the input value is considered as empty
...
This change will fix two issues:
1. When CLI sets a flag to an empty value in Go, e.g. 0 as to Uint64, the flag will be skipped and never set correctly. This problem could be solved by using option "WithOverwriteWithEmptyValue" when merge two configs.
2. The default non-empty value in server config will be overwritten to an empty value after flag initialization. This problem is solved by explicitly providing default value to all flags that have a default value option.
2022-05-31 20:30:40 -07:00
Jerry
4cec5f01c3
Add ability to parse legacy genesis file
2022-05-31 20:30:40 -07:00
Jerry
3ae87c0d46
Read static-nodes and trusted-nodes from default files if not specified in CLI
2022-05-31 20:30:40 -07:00
Krishna Upadhyaya
783f93b1d7
Merge pull request #418 from maticnetwork/0xkrishna/pos-375
...
Increased default value of rpc.txfeecap to 5
2022-05-31 14:14:44 +05:30
Krishna Upadhyaya
3f5fe0e387
Increased default value of rpc.txfeecap to 5
2022-05-30 13:59:30 +05:30
Jerry
5092006b27
Fix default Dockerfile for new CLI
2022-05-27 14:40:04 -07:00
SHIVAM SHARMA
4fb3f5ddee
Modifying miner.recommit flag and its adjustment function. ( #370 )
...
* changed min/max/current recommit values
* Remove Hardcoded min/max
* Code Sanitization
* Skipping tests for constant recommit interval
* Adding default miner.recommit value
* Minor Change
2022-05-27 21:07:55 +05:30
Jerry
96228cc2dd
Merge pull request #410 from cffls/v0.3.0-dev-lint
...
Lint consensus/bor and internal/cli
2022-05-26 12:28:40 -07:00
Jerry
2e2557a2d0
Enable prealloc check and improve address comparison
2022-05-26 11:55:44 -07:00
Jerry
45a72bc49e
Lint internal/cli
2022-05-26 11:55:44 -07:00
Manav Darji
2ba7c036a7
fix tests
2022-05-24 17:13:49 +05:30
Manav Darji
cb9d29151c
add more tests
2022-05-24 16:29:39 +05:30
Manav Darji
9c861920d5
modularise fake chain validator in downloader
2022-05-24 15:41:26 +05:30
Manav Darji
c46a29340d
handle all errors
2022-05-24 14:34:26 +05:30
Manav Darji
2b089ee6d3
fix: return value for no remote block
2022-05-24 14:33:45 +05:30
Jerry
12ab0f0240
Lint consensus/bor module
...
Cleanup, lint, and enable linters for consenssus/bor module.
Disabled linter "gomnd" and "tagliatelle" because they are not
easy to fix and the return on the time investment is very low.
Disabled linter "prealloc" because it is not easy to guess and pre-allocate the
slice accurately in many cases.
2022-05-23 19:46:59 -07:00
Evgeny Danilenko
87a2e5224f
Merge pull request #395 from maticnetwork/testing-flags
...
Restores linters and separate kinds of tests
2022-05-23 19:42:18 +03:00
Jerry
63bedf374d
Merge pull request #405 from cffls/whitelist
...
Rename whitelist to requiredblocks
2022-05-23 09:18:48 -07:00
SHIVAM SHARMA
8c3423ca7c
Merge pull request #407 from maticnetwork/POS-374
...
Added logging for statesyncs data
2022-05-23 20:01:19 +05:30
Manav Darji
2323f2c96e
fix: modify build eth fn definition for account unlock handling ( #412 )
2022-05-23 15:27:35 +05:30
Manav Darji
1b53044055
internal/cli/server, eth: add option to disable personal wallet endpoints ( #394 )
...
* initial disable-bor-wallet implementation
* fixes and enhancements
* update docs using clidoc
* fixes in clique auth
2022-05-23 14:06:51 +05:30
Shivam Sharma
59337a7a07
Minor Fix
2022-05-20 17:32:49 +05:30
Shivam Sharma
20d99d94df
Adding individual gasUsed
2022-05-20 15:57:08 +05:30
Shivam Sharma
b88353c27d
Minor Fix
2022-05-20 14:20:59 +05:30
Shivam Sharma
dba374026f
Minor Changes
2022-05-20 12:32:37 +05:30
Shivam Sharma
8b8395870c
Added number of event-records in log
2022-05-20 12:31:41 +05:30
Shivam Sharma
c8f8465edb
Added logging for state-sync total gas usage
2022-05-20 12:31:21 +05:30
Ferran
e01a0f2619
Limit state sync by gas
2022-05-20 12:31:06 +05:30
Evgeny Danienko
01117acbcc
fmt
2022-05-19 14:41:49 +03:00
Evgeny Danienko
89fadee71e
dont panic
2022-05-19 14:38:49 +03:00
Evgeny Danienko
d4938065c1
fix test
2022-05-19 14:15:35 +03:00
Evgeny Danienko
fb46dd8cdf
minor fixes
2022-05-19 10:23:34 +03:00
Jerry
cd1a8990ae
Merge pull request #403 from cffls/v0.3.0-dev
...
Implement and enable 'unlock' flag
2022-05-18 09:43:51 -07:00
Evgeny Danienko
b1b0c0e2fb
test ErrCheckpointMismatch
2022-05-18 17:21:51 +03:00
Jerry
c02e2cbb93
Rename whitelist to requiredblocks
2022-05-17 17:08:41 -07:00
Evgeny Danienko
2930d04428
misspell
2022-05-17 19:28:08 +03:00
Evgeny Danienko
3aaf6bc13e
cherry-pick from Jerry's Chen branch
2022-05-17 19:25:59 +03:00
Evgeny Danienko
af2b5e06b0
wip
2022-05-17 19:24:16 +03:00
Evgeny Danienko
3dd7f59531
more tests
2022-05-17 19:23:57 +03:00
Jerry
8de6903eee
Implement and enable 'unlock' flag
2022-05-16 14:57:26 -07:00
Evgeny Danienko
91559f3955
run on forked branches
2022-05-16 10:47:33 +03:00
Evgeny Danienko
30dd11a183
run on forked branches
2022-05-16 10:35:57 +03:00
Evgeny Danienko
52647fcd88
run on forked branches
2022-05-16 10:12:09 +03:00