Commit graph

13388 commits

Author SHA1 Message Date
Shivam Sharma
2d4ef67849 Streamlined code 2022-01-21 09:49:01 +00:00
Shivam Sharma
8f7174fb92 Refactor Code 2022-01-21 08:14:40 +00:00
Shivam Sharma
949822c072 some refactor 2022-01-21 06:30:51 +00:00
Ferran Borreguero
06c9d5cca6 Test each event without for loop 2022-01-20 18:23:11 +01:00
Shivam Sharma
6ab7515849 Merge branch 'master' into merge-subs2 2022-01-20 13:34:25 +00:00
Shivam Sharma
70f9c88a64 Added Chain2HeadEvent Test 2022-01-20 13:31:24 +00:00
SHIVAM SHARMA
2d84249492
fix for TestReorgSideEvent (#304)
* fix for TestReorgSideEvent

* Fix make test

* Disable specific tests and enable bor burn contract

* Fix more stuff

* More checks

Co-authored-by: Ferran Borreguero <ferranbt@protonmail.com>
2022-01-20 14:24:15 +01:00
Shivam Sharma
68ea5cd14a minor fixes 2022-01-19 12:39:22 +00:00
Shivam Sharma
1215260899 Merge branch 'master' into merge-subs2 2022-01-19 17:59:06 +05:30
Manav Darji
f3d6620ecc
migrate cli to internal package (#301) 2022-01-19 12:10:20 +01:00
Shivam Sharma
87362e4177 Merging feature-subs2 to master 2022-01-14 18:50:19 +05:30
Ferran Borreguero
336b89eeba
Enable test again (#280)
* Enable london fork in allEnabledConfig

* Move up the make-all in Makefile

* Add Makefile entry to download tests

* Fix rawdb tests

* Fix core tests

* Remove old testdata

* Enable full test

* Fix makefile

* Remove duplicate test for ci

* Fix small format issue

* Filter a couple of folders

* Fix go test
2022-01-14 12:13:47 +01:00
Ferran Borreguero
4829114def
Use stream to send debug files (#279)
* Fix protobuf file

* Small fix

* Use grpc streams to send big debug files
2022-01-13 16:46:30 +01:00
Ferran Borreguero
3b2bfa029b
Add forks to status (#278)
* Add forks to status

* Track also bor config forks
2022-01-13 11:09:26 +01:00
Sandeep Sreenath
8a3508a41f
Merge pull request #284 from AlexSSD7/master
Bump maximum Gas Price Oracle gas price to 5000 Gwei
2022-01-13 14:08:36 +05:30
Sandeep Sreenath
0978123079
Merge pull request #294 from maticnetwork/v0.2.13-candidate
v0.2.13 candidate
2022-01-13 14:07:33 +05:30
Victor Castell
00c78e73af Include missing bad merge changes 2022-01-11 14:59:16 +01:00
Victor Castell
34d8949f84 Include London genesis file 2022-01-11 12:25:00 +01:00
Sandeep Sreenath
8bd07e48bd Update version.go 2022-01-11 12:23:28 +01:00
Arpit Temani
bae032365d add burnt contract address 2022-01-11 12:23:28 +01:00
Arpit Temani
e4f1677126 add london fork 2022-01-11 12:23:28 +01:00
Sandeep Sreenath
07c0669654 bumped version to beta2 2022-01-11 12:23:28 +01:00
Arpit Temani
a10f79dc27 jaipur fork (#269)
* jaipur fork

* add check

* review comments

* test case

* fix few changes

* Change condition

* review comments

* type conversion

* Update mumbai.go

* Update config.go

* Update config.go

Co-authored-by: Ferran Borreguero <ferranbt@protonmail.com>
2022-01-11 12:23:28 +01:00
Victor Castell
467e53b2ac Build with the previous Dockerfile (#268)
* Build with the previous Dockerfile

This will recover the classic maticnetwork build in parallel. This will allow to test both images.

Also fix the new build manifest.

Build on patches too
2022-01-11 12:23:22 +01:00
Arpit Temani
7115b84b7a london fork (#260)
* london fork changes

* Update version.go

* burn contract address
2022-01-11 12:22:03 +01:00
Victor Castell
8dd6f59bbc
Configure bor params in the unit itself (#270)
This PR removes the necessity of having a startup script, less moving parts, and less files to watch.

* Distribute the cannonical genesys file with packages

As we are going to embed genesys data into the binary, this is the most close method to do it before the new CLI.

This way, each release gets tied to it's corresponding genesys file.

This establish bor repository as the source of truth for the genesys file.

* Simplify flags using defaults
2022-01-07 17:20:57 +01:00
Alex
d7891c0d24
Bump maximum GPO price to 5000 Gwei 2022-01-05 10:09:10 +01:00
Victor Castell
53d8947bfe
Do not attempt DNS discovery and change default sync flag (#283)
* Prefer full sync
* Do not set DNS discovery
2022-01-05 08:41:40 +01:00
William Morriss
521b3a7833
bor the default target (#281) 2022-01-04 14:05:46 +01:00
SHIVAM SHARMA
d51abdb487
removed errors in testcase (#258) 2022-01-03 10:48:17 +01:00
Victor Castell
fbd2de7a85
Build using netgo tag (#275)
This will create a static build using Go native networking stack.

Checked and it works stable for all archs and distros.
2021-12-27 13:26:29 +01:00
Ferran Borreguero
bbdd7efcff More cleanup 2021-12-22 12:14:14 +01:00
Ferran Borreguero
71bb7157d0 Move things in lightclient 2021-12-22 12:10:32 +01:00
Ferran Borreguero
1b9c2ad419 Clean ethstats syncer 2021-12-22 12:03:22 +01:00
Shivam Sharma
3a6744785b Added chain2head event in Ethstats 2021-12-22 15:36:31 +05:30
Ferran Borreguero
d5d639d0df
Feature grpc status (#224)
* Add status grpc command

* Add command to cli

* Update docs

* Add more fields to status
2021-12-14 10:35:54 +01:00
Shivam Sharma
9957d9147f minor fix 2021-12-11 13:28:50 +05:30
Shivam Sharma
4867ce844d merge MASTER into feature-subs 2021-12-07 21:02:34 +05:30
Arpit Temani
39116e6cc9
V0.2.12 candidate (#261)
* Fix ancient receipts

* bumped version to 0.2.11

* Genesis change fix (#252)

* read from genesis file

* add: set code in finalize and assemble

* new: storing data in bor config

* chg: remove unwanted code

* chg: refactor

* minor change

* add error states

* Fix small things

* Add test

* Add more coverage in genesis finalize test

* Ensure balance is not changed

* Add decode safe check

* Change bor config block alloc field name

* Remove block alloc values in blocks

* Add genesis alloc code change info logging

Co-authored-by: Ferran Borreguero <ferranbt@protonmail.com>

* add block alloc

* change block alloc

* remove byte array

* mainnet upgrade

Co-authored-by: Ferran Borreguero <ferranbt@protonmail.com>
Co-authored-by: Sandeep Sreenath <sandeep.sreenath@gmail.com>
Co-authored-by: Jaynti Kanani <jdkanani@gmail.com>
2021-12-07 15:28:31 +01:00
Shivam Sharma
1865f28131 Added sypnosis/help + clean code 2021-12-06 16:25:21 +05:30
Shivam Sharma
a6f014c2c9 fixes 2021-12-06 14:25:33 +05:30
Shivam Sharma
beaf6da26d Minor Refactor 2021-12-03 17:28:53 +05:30
Shivam Sharma
dcb6cabb77 Fixes 2021-12-03 14:17:55 +05:30
SHIVAM SHARMA
b633382707
Merge pull request #250 from maticnetwork/shivam/newCLI-syncmode
Changed syncmode from fast to full
2021-12-03 11:48:32 +05:30
Shivam Sharma
cf900a96a7 Changed syncmode from fast to full 2021-12-02 17:18:19 +05:30
Shivam Sharma
4488927e1f Connected chain2head protobuf 2021-12-02 12:28:26 +05:30
Ferran Borreguero
e6235a8e9b Initial approach 2021-12-02 12:28:26 +05:30
Ferran Borreguero
d3010f49bd
Fix ancestor bor receipts (#249) 2021-12-01 16:08:13 +01:00
Shivam Sharma
53a35e0d80 Connected chain2head protobuf 2021-12-01 16:34:55 +05:30
SHIVAM SHARMA
ea27380862
Merge branch 'maticnetwork:feature-subs' into feature-subs 2021-12-01 12:28:28 +05:30