Commit graph

14011 commits

Author SHA1 Message Date
SHIVAM SHARMA
f0d8a9d24d
bump dep : golang.org/x/net to v0.8.0 (#771) 2023-03-09 18:12:51 +01:00
marcello33
a96622e86e
mardizzone/pos-1313: bump crypto dependency (#772)
* dev: chg: bumd net dependency

* dev: chg: bump crypto dependency

* dev: chg: bump crypto dependency
2023-03-09 15:22:54 +01:00
SHIVAM SHARMA
fa489cab3f
bump dep : github.com/Masterminds/goutils to v1.1.1 (#769) 2023-03-09 19:51:38 +05:30
Arpit Temani
d817857e52
upgrade crypto lib version (#770) 2023-03-09 15:16:14 +05:30
Jerry
7db8c140fc
Merge pull request #767 from cffls/jerryc/v0.3.5
v0.3.5
2023-03-06 12:32:30 -08:00
Pratik Patil
318b7fadc9 fix lints from develop (few lints decided to appear from code that was untouched, weird) 2023-03-06 09:33:05 -08:00
Jerry
4671d97f31 Bump version to v0.3.5 2023-03-06 09:14:44 -08:00
Jerry
8698da045f Fix linter 2023-03-06 09:11:57 -08:00
Jerry
c7cc8c08ed Add holiman/big 2023-03-06 09:11:57 -08:00
Martin Holst Swende
7303e59f52 core/vm: use optimized bigint (#26021) 2023-03-06 09:11:57 -08:00
Jerry
a7bf4ba6bd Revert "bump : go version from 1.19 to 1.20.1 (#761)"
This reverts commit 4561012af9.
2023-03-06 09:08:46 -08:00
SHIVAM SHARMA
4561012af9
bump : go version from 1.19 to 1.20.1 (#761) 2023-03-03 14:21:26 +05:30
SHIVAM SHARMA
f973926ef0
core: add : impossible reorg block dump (#754)
* add : impossible reorg block dump

* chg : 3 seperate files for impossoble reorg dump

* add : use exportBlocks method and RLP blocks before writing

* chg : small changes
2023-02-26 21:28:12 +05:30
Manav Darji
4ca527255b
core: use internal context for sending traces (#755) 2023-02-24 12:52:45 +05:30
Manav Darji
9859f2d43a
core, miner: add sub-spans for tracing (#753)
* core, miner: add sub-spans for tracing

* fix linters

* core: add logs for debugging

* core: add more logs to print tdd while reorg

* fix linters

* core: minor fix

* core: remove debug logs

* core: use different span for write block and set head
2023-02-23 18:20:03 +05:30
Manav Darji
c3d2c2689a
Merge qa to master (#750)
* Added checks to RPC requests and introduced new flags to customise the parameters (#657)

* added a check to reject rpc requests with batch size > the one set using a newly added flag (rpcbatchlimit)

* added a check to reject rpc requests whose result size > the one set using a newly added flag (rpcreturndatalimit)

* updated the config files and docs

* chg : trieTimeout from 60 to 10 mins (#692)

* chg : trieTimeout from 60 to 10 mins

* chg : cache.timout to 10m from 1h in configs

* internal/cli/server : fix : added triesInMemory in config (#691)

* changed version from 0.3.0 to 0.3.4-beta (#693)

* fix nil state-sync issue, increase grpc limit (#695)

* Increase grpc message size limit in pprof

* consensus/bor/bor.go : stateSyncs init fixed [Fix #686]

* eth/filters: handle nil state-sync before notify

* eth/filters: update check

Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Daniil <daniil.melnik@chainstack.com>

* core, tests/bor: add more tests for state-sync validation (#710)

* core: add get state sync function for tests

* tests/bor: add validation for state sync events post consensus

* Arpit/temp bor sync (#701)

* Increase grpc message size limit in pprof

* ReadBorReceipts improvements

* use internal function

* fix tests

* fetch geth upstread for ReadBorReceiptRLP

* Only query bor receipt when the query index is equal to # tx in block body

This change reduces the frequency of calling ReadBorReceipt and
ReadBorTransaction, which are CPU and db intensive.

* Revert "fetch geth upstread for ReadBorReceiptRLP"

This reverts commit 2e838a6b1313d26674f3a8df4b044e35dcbf35a0.

* Restore ReadBorReceiptRLP

* fix bor receipts

* remove unused

* fix lints

---------

Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Evgeny Danienko <6655321@bk.ru>

* Revert "chg : trieTimeout from 60 to 10 mins (#692)" (#720)

This reverts commit 241843c7e7.

* Arpit/add execution pool 2 (#719)

* initial

* linters

* linters

* remove timeout

* update pool

* change pool size function

* check nil

* check nil

* fix tests

* Use execution pool from server in all handlers

* simplify things

* test fix

* add support for cli, config

* add to cli and config

* merge base branch

* debug statements

* fix bug

* atomic pointer timeout

* add apis

* update workerpool

* fix issues

* change params

* fix issues

* fix ipc issue

* remove execution pool from IPC

* revert

* fix tests

* mutex

* refactor flag and value names

* ordering fix

* refactor flag and value names

* update default ep size to 40

* fix bor start issues

* revert file changes

* debug statements

* fix bug

* update workerpool

* atomic pointer timeout

* add apis

* Merge branch 'add-execution-pool' of github.com:maticnetwork/bor into arpit/add-execution-pool

* fix issues

* change params

* fix issues

* fix ipc issue

* remove execution pool from IPC

* revert

* merge base branch

* Merge branch 'add-execution-pool' of github.com:maticnetwork/bor into arpit/add-execution-pool

* mutex

* fix tests

* Merge branch 'arpit/add-execution-pool' of github.com:maticnetwork/bor into arpit/add-execution-pool

* Change default size of execution pool to 40

* refactor flag and value names

* fix merge conflicts

* ordering fix

* refactor flag and value names

* update default ep size to 40

* fix bor start issues

* revert file changes

* fix linters

* fix go.mod

* change sec to ms

* change default value for ep timeout

* fix node api calls

* comment setter for ep timeout

---------

Co-authored-by: Evgeny Danienko <6655321@bk.ru>
Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>

* version change (#721)

* Event based pprof (#732)

* feature

* Save pprof to /tmp

---------

Co-authored-by: Jerry <jerrycgh@gmail.com>

* Cherry-pick changes from develop (#738)

* Check if block is nil to prevent panic (#736)

* miner: use env for tracing instead of block object (#728)

---------

Co-authored-by: Dmitry <46797839+dkeysil@users.noreply.github.com>

* add max code init size check in txpool (#739)

* Revert "Event based pprof" and update version (#742)

* Revert "Event based pprof (#732)"

This reverts commit 22fa4033e8.

* params: update version to 0.3.4-beta3

* packaging/templates: update bor version

* params, packaging/templates: update bor version

---------

Co-authored-by: SHIVAM SHARMA <shivam691999@gmail.com>
Co-authored-by: Pratik Patil <pratikspatil024@gmail.com>
Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Daniil <daniil.melnik@chainstack.com>
Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
Co-authored-by: Dmitry <46797839+dkeysil@users.noreply.github.com>
2023-02-20 18:37:21 +05:30
Jerry
56d3058561
Merge pull request #655 from maticnetwork/manav/bump-control-files
packaging: bump bor version in control files
2023-01-09 10:41:17 -08:00
Manav Darji
dcdac12c44 Bump bor version in control files for v0.3.3 mainnet release 2023-01-09 23:00:49 +05:30
Manav Darji
b480db16e8
handle future chain import and skip peer drop (#650)
* handle future chain import and skip peer drop

* add block import metric

* params: bump version to v0.3.3-stable
2023-01-07 11:58:03 +05:30
Arpit Temani
3eb234cd9a
Merge pull request #647 from cffls/qa
Merge qa to master for v0.3.2
2023-01-05 12:03:50 +05:30
Arpit Temani
db7eb29d88 change delhi hardfork block number 2023-01-05 10:41:27 +05:30
Jerry
c12e8f2aa8 Set version to stable 2023-01-04 12:20:15 -08:00
Jerry
59bdbef42a Mainnet Delhi fork 2023-01-04 12:20:15 -08:00
Daniel Jones
205930ef30
Merge pull request #639 from maticnetwork/djpolygon/3.2-beta_control
Bumping control file versions
2022-12-18 20:44:03 -06:00
Daniel Jones
b7b15456fb Bumping control file versions 2022-12-18 17:27:49 -06:00
Arpit Temani
7217f79767
Merge pull request #630 from maticnetwork/arpit/master-to-qa
RPC fix for coinbase address
2022-12-15 14:40:33 +05:30
Jerry
9b2407a58f Minor wording fix in prune state description 2022-12-14 21:49:11 -08:00
Jerry
b7ed9de45b Add state pruning to new CLI 2022-12-14 15:49:43 -08:00
Daniel Jones
5eebbfa307
Merge pull request #634 from maticnetwork/djpolygon/packagerDepUpdate
Djpolygon/packager dep update
2022-12-14 13:43:55 -06:00
Arpit Temani
660677b646 Merge branch 'master' of github.com:maticnetwork/bor into arpit/master-to-qa 2022-12-14 23:26:01 +05:30
Daniel Jones
2e45f3badc Updating packager as binutils changed version so that apt-get installs current versions 2022-12-14 11:06:17 -06:00
Jerry
5e145283c1
Merge pull request #632 from cffls/master
Add default values to CLI helper and docs
2022-12-14 07:50:22 -08:00
Jerry
ddf1a4db8c Add a summary of new CLI in docs 2022-12-13 23:46:43 -08:00
Jerry
a37af35c36 Add default values to CLI helper and docs
This commit adds default values to CLI helper and docs. When the default value of a string flag, slice string flag, or map string flag is empty, its helper message won't show any default value.
2022-12-13 23:23:10 -08:00
Arpit Temani
b1776698cf Merge branch 'arpit/master-to-qa' of github.com:maticnetwork/bor into arpit/master-to-qa 2022-12-14 01:00:09 +05:30
Arpit Temani
7364f940ba revert change for release for go1.19 2022-12-14 00:59:54 +05:30
Arpit Temani
a8eb21f80d
Merge pull request #631 from maticnetwork/manav/revert-pos-533
Revert "Adding correct miner address on API at the RPC level (POS-553)"
2022-12-14 00:49:19 +05:30
Arpit Temani
0b89983fa4 merge latest master to qa 2022-12-14 00:46:19 +05:30
Manav Darji
6d11117edc Revert "Merge pull request #435 from maticnetwork/POS-553"
This reverts commit 657d262def, reversing
changes made to 88dbfa1c13.
2022-12-14 00:44:01 +05:30
Arpit Temani
b7f37c7ce3
Merge pull request #603 from maticnetwork/arpit/v0.3.1-mumbai-candidate
v0.3.1 mumbai candidate
2022-12-14 00:43:26 +05:30
Jerry
d9e5e20e18
Merge pull request #620 from cffls/master
Bump version to stable
2022-12-06 12:06:04 -08:00
Jerry
43d894c44e Bump version to stable 2022-12-06 11:01:22 -08:00
Jerry
31da9729fb Revert "update Docker login for goreleaser-cross v1.19"
This reverts commit 4d19cf5342.
2022-12-05 23:40:35 -08:00
Jerry
9656c6cd0c
Merge pull request #618 from cffls/master
Merge commits from qa into master
2022-12-05 22:04:15 -08:00
Jerry
e68d2d1a87 Fix docker publish authentication issue
In gorelease-cross 1.19+, dockerhub authentication will require docker
logion action followed by mounting docker config file. See
https://github.com/goreleaser/goreleaser-cross#github-actions.
2022-12-05 20:14:27 -08:00
Arpit Temani
180d4444df remove unwanted code 2022-12-05 22:05:34 +05:30
Arpit Temani
adf8c5f1ab Merge branch 'arpit/v0.3.1-mumbai-candidate' of github.com:maticnetwork/bor into arpit/v0.3.1-mumbai-candidate 2022-12-05 19:42:15 +05:30
Arpit Temani
c807faaa94 merge current qa branch 2022-12-05 19:42:00 +05:30
Pratik Patil
57075d000d
Add support for new flags in new config.toml, which were present in old config.toml (#612)
* added HTTPTimeouts, and TrieTimeout flag in new tol, from old toml

* added RAW fields for these time.Duration flags

* updated the conversion script to support these extra 4 flags

* removed hcl and json config tests as we are only supporting toml config files

* updated toml files with cache.timeout field

* updated toml files with jsonrpc.timeouts field

* tests/bor: expect a call for latest checkpoint

* tests/bor: expect a call for latest checkpoint

* packaging/templates: update cache values for archive nodes

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-12-05 19:21:33 +05:30
Arpit Temani
dd64fa160c
Merge pull request #614 from maticnetwork/ancient-datadir
Added ancient datadir flag and toml field
2022-12-05 12:24:54 +05:30