Commit graph

111 commits

Author SHA1 Message Date
Jerry
15f64ee58f Remove orphaned containers when shutdown devnet
This will potentially resolve "ERROR: network docker_default has active endpoints" problem
2022-09-06 19:17:04 +04:00
Evgeny Danilenko
e699254142
Use atomic pointer in go 1.19 (#446)
* use atomic pointer

* golang version

* golang version

* go1.19

* linters

* Bump golangci-lint

* linters

* linters

* linters after merge

* generic logger

* generic logger

* logger

* logger

* linters

* bump toml

* linters1

* linters

* linters

* linter

* linter

* linters

* linters

* linters
2022-08-09 22:11:09 +03:00
Jerry
4089c24ae2 Remove 'edit' from github CI workflow 2022-07-21 09:30:34 -07:00
Manav Darji
b382111b87
github: add new issue templates (#455)
* add: new issue templates

* github: add version commands and file paths
2022-07-18 20:09:15 +05:30
Jerry
1daa659aa5 Merge remote-tracking branch 'upstream/develop' into develop 2022-06-22 00:08:02 -07:00
Krishna Upadhyaya
3bb14803e2
Merge pull request #437 from maticnetwork/krishna/reproducible-build-test
Added reproducible build test to CI
2022-06-21 18:26:05 +05:30
Krishna Upadhyaya
fbaeaa2247 Added reproducible build test to CI 2022-06-21 16:42:56 +05:30
Jerry
9592534a69 Integration tests 2022-06-20 11:25:39 -07:00
Evgeny Danilenko
342bf3089e
Merge develop branch into v0.3.0-dev (#430)
* merge geth v1.10.15

* fix: Removed FastSync from cli server

* fix: TestHeadersRLPStorage

* Added t.skip(ETH2 in bor)

* fix: flow in create consensus engine

* bumped version

* Fix typo

* increase block time

* remove file

* bumped version

* merge gethv1.10.17

* bumped version

* fix failing tests

* Bump Go version to v1.18 (#368)

* Bump Go version to v1.18.1

* Build using netgo tag

This will create a static build using Go native networking stack.

Checked and it works stable for all archs and distros.

* Fix meta

* initial implementation for common ancestor approach

* extract whitelist interface

* fix types

* fix tests and format

* add unit tests for IsValidChain function

* more tests

* wip

* test ErrCheckpointMismatch

* minor fixes

* fix test

* dont panic

* fmt

* Limit state sync by gas

* Added logging for state-sync total gas usage

* Added number of event-records in log

* Minor Changes

* Minor Fix

* Adding individual gasUsed

* Minor Fix

* fix: return value for no remote block

* handle all errors

* modularise fake chain validator in downloader

* add more tests

* fix tests

* 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

* Increased default value of rpc.txfeecap to 5

* add debug rpc endpoints for checkpoint whitelist service

* minor fixes and enhancements

* avoid capping warnings for gas set by internal system transactions

* use typed mocks

* fix

* fix

* fix

* fix close

* fix

* Create stale.yml

* Fix bor consensus checkpoint bug

Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
Co-authored-by: Shivam Sharma <shivam691999@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Sandeep Sreenath <sandeep.sreenath@gmail.com>
Co-authored-by: Victor Castell <victor@victorcastell.com>
Co-authored-by: Ferran <ferranbt@protonmail.com>
Co-authored-by: Krishna Upadhyaya <krishnau1604@gmail.com>
Co-authored-by: Karlo <karlonovak@gmail.com>
Co-authored-by: Sandeep Sreenath <ssandeep@users.noreply.github.com>
Co-authored-by: Jerry <jerrycgh@gmail.com>
2022-06-15 09:02:01 +03:00
Sandeep Sreenath
c3a0c20303
Create stale.yml 2022-06-08 15:09:42 +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
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
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
Evgeny Danienko
e787097874 restore codecov 2022-05-13 18:41:27 +03:00
Evgeny Danienko
5a3eb08a57 where to run3 2022-05-13 09:38:43 +03:00
Evgeny Danienko
a8a9229c34 where to run2 2022-05-13 09:37:23 +03:00
Evgeny Danienko
276e82b16c where to run1 2022-05-13 09:36:40 +03:00
Evgeny Danienko
3268c143cd where to run 2022-05-13 09:36:02 +03:00
Evgeny Danienko
485762a28d where to run 2022-05-13 09:35:31 +03:00
Evgeny Danienko
81ede2f6d2 where to run 2022-05-13 09:25:37 +03:00
Evgeny Danienko
a57d21166a leaks 2022-05-12 18:27:03 +03:00
Evgeny Danienko
594c9ab23f vs master 2022-05-12 18:04:04 +03:00
Evgeny Danienko
2bac6ce45f remove shuffle for e2e 2022-05-11 17:09:36 +03:00
Evgeny Danienko
7c6357ecf6 group concurrency 2022-05-11 16:18:56 +03:00
Evgeny Danienko
6a598b4e93 revert 2022-05-11 15:27:18 +03:00
Evgeny Danienko
cd4b40fffd test without linters 2022-05-11 15:26:55 +03:00
Evgeny Danienko
834c7741b4 only new issues 2022-05-11 15:21:21 +03:00
Evgeny Danienko
15900477fb linters 2022-05-11 14:05:02 +03:00
Evgeny Danienko
63cd7a3273 move integration ci 2022-05-11 10:33:44 +03:00
Evgeny Danienko
5192fd7d8d split units and integration. step 1 2022-05-11 10:26:10 +03:00
Evgeny Danienko
eb76df22af better ci 2022-05-11 10:00:31 +03:00
Victor Castell
0232c6a266 Do not build classic docker image 2022-05-09 17:05:24 +02:00
Shivam Sharma
3c051f074c Added codecov 2022-03-16 13:47:45 +05:30
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
Victor Castell
9ab47817e2
Merge pull request #228 from maticnetwork/victor/pos-47-improve-bor-binary-releases
Release multiplatform with goreleaser

- Release multiplatform docker images
- Upload to GH docker repo and create releases
- Automate CI pipeline for releasing
- Notify release to slack
2021-11-12 11:25:27 +01:00
Victor Castell
7b6bab4986 Release multi-platform with goreleaser
Packages, docker images CI automated
2021-11-11 17:24:42 +01:00
Victor Castell
8ce30321ad Bump Go 2021-11-10 11:31:39 +01:00
Sandeep Sreenath
ecc0fb1e56 updated golang version in github workflow 2021-10-12 00:05:08 +05:30
Krishna Upadhyaya
4edbd3179c update: go version 2021-09-01 15:09:04 +05:30
Jaynti Kanani
638e829b04
update: merge v1.10.3 2021-05-25 14:20:38 +04:00
ligi
b50b17ac69
github: add note about screenshots in issue template (#22764) 2021-04-29 19:30:37 +02:00
Guillaume Ballet
793c8f889f
add myself as code owner for catalyst (#22778) 2021-04-29 18:36:22 +02:00
Jaynti Kanani
26ad897916
chg: update geth to v1.10.1 2021-03-09 17:06:18 +05:30
Jaynti Kanani
274c54483d
fix: use make bor-all for linux package 2021-02-15 15:48:52 +05:30
Suriyaa Sundararuban
47820ef726
.github: Replace wiki links with new doc pages (#22065) (#22068) 2021-01-04 11:58:51 +01:00
Jaynti Kanani
67c2de7168
Update dockerimage-latest.yml 2020-12-17 14:33:49 +05:30