Commit graph

13999 commits

Author SHA1 Message Date
SHIVAM SHARMA
38145fae21
internal/cli/server : fix : added triesInMemory in config (#691) 2023-01-19 14:41:38 +05:30
SHIVAM SHARMA
241843c7e7
chg : trieTimeout from 60 to 10 mins (#692)
* chg : trieTimeout from 60 to 10 mins

* chg : cache.timout to 10m from 1h in configs
2023-01-19 14:41:11 +05:30
Pratik Patil
e4dd2ee1ac
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
2023-01-19 14:40:24 +05:30
SHIVAM SHARMA
66c23d1eeb
Merge pull request #664 from maticnetwork/master
Merge 'master' into qa
2023-01-13 13:42:23 +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
Pratik Patil
531d67a537 updated toml files with ancient field 2022-12-05 07:52:26 +05:30
Daniel Jones
5d6ffa7f03
Merge pull request #613 from maticnetwork/djpolygon/v0.3.1-mumbai-update
Adding of 0.3.0 package changes, control file updates, postinst chang…
2022-12-04 15:36:08 -06:00
Pratik Patil
e3303294b4 added ancient datadir flag and toml field, need to decide on default value and update the conversion script 2022-12-04 10:02:55 +05:30
Daniel Jones
dab31611b8 Adding of 0.3.0 package changes, control file updates, postinst changes, and packager update 2022-12-01 15:50:00 -06:00
Daniel Jones
6cd5d15a45
Merge pull request #611 from maticnetwork/djpolygon/v030-cleanup
Cleanup for the packager to use git tag in the package profile naming…
2022-12-01 13:46:34 -06:00
Pratik Patil
4d06349d95
added a toml configuration file with comments describing each flag (#607)
* added a toml configuration file with comments describing each flag

* internal/cli/server: update flag description

* docs/cli: update example config and description of flags

* docs: update new-cli docs

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-12-01 09:20:17 +05:30
Will Button
3b4ff7d3d3
Merge pull request #610 from maticnetwork/wbutton/goreleaser-docker-creds 2022-11-30 16:42:17 -07:00
Daniel Jones
1cf78fd9c9 Cleanup for the packager to use git tag in the package profile naming. Added conditional check for directory structure, this is in prep for v0.3.1, as this will create a failure on upgrade path in package due to file exist 2022-11-30 16:38:48 -06:00
Will Button
4d19cf5342
update Docker login for goreleaser-cross v1.19 2022-11-30 08:00:31 -08:00
Arpit Temani
742990cfcd update goversion in makefile 2022-11-30 00:40:56 +05:30
Arpit Temani
d96662ab63 update go version in release.yml 2022-11-30 00:21:26 +05:30
Arpit Temani
59dccd37c3 resolve merge conflicts 2022-11-29 13:03:49 +05:30