Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
318 commits
Select commit Hold shift + click to select a range
fb17cda
Merge branch 'develop' into POS-648
0xKrishna Jul 28, 2022
cd04702
Add 'bor' user during package installation
cffls Jul 28, 2022
b64af9b
fixed the bug caused by fillBigInt and FillTime.Duration functions (#…
pratikspatil024 Jul 29, 2022
7e79f82
Merge pull request #475 from cffls/develop
cffls Jul 29, 2022
aecdd74
fix GetTransactionReceiptsByBlock bug
wanyvic Mar 29, 2022
b18370b
fix : TestGetTransactionReceiptsByBlock
0xsharma Aug 1, 2022
423734c
fix : deferred close() + lint
0xsharma Aug 1, 2022
a69109c
fix : removed debug logs
0xsharma Aug 2, 2022
65875c6
Merge pull request #477 from maticnetwork/shivam/POS-695
0xsharma Aug 2, 2022
85cdd9d
Initial Setup
0xsharma May 2, 2022
938578c
fix : minor change
0xsharma Aug 2, 2022
d3231c0
fix :GetTransactionByBlockNumberAndIndex + testGetTransactionByBlockN…
0xsharma Aug 3, 2022
57e1282
fix : lint
0xsharma Aug 3, 2022
d5e51c9
add : more comments
0xsharma Aug 3, 2022
460bd4d
fix : tests
0xsharma Aug 3, 2022
f42a70f
Merge pull request #468 from maticnetwork/POS-648
0xKrishna Aug 3, 2022
6b651f4
rm : t.parallel()
0xsharma Aug 3, 2022
d8d9360
Merge pull request #480 from maticnetwork/shivam/POS-705
0xsharma Aug 3, 2022
16408ba
internal/cli, cmd/geth: replaced package naoina/toml with BurntSushi/…
pratikspatil024 Aug 5, 2022
95891a8
bor filter apis
temaniarpit27 Aug 6, 2022
ac559bc
internal/cli: add support for removedb (#478)
manav2401 Aug 9, 2022
e699254
Use atomic pointer in go 1.19 (#446)
JekaMas Aug 9, 2022
1d1f00c
eth: fix multiple checkpoint fetch logic (#465)
manav2401 Aug 11, 2022
72aa44e
Fix EOF error in gRPC state-sync (#489)
0xKrishna Aug 11, 2022
3c94dfb
A thread safe way to take a free port (#485)
JekaMas Aug 16, 2022
0be4ea3
updated config.toml in builder/files, added all fields and commented …
pratikspatil024 Aug 17, 2022
49cd8c8
update version
manav2401 Aug 17, 2022
43b67c3
handle snap sync mode switches (#495)
manav2401 Aug 17, 2022
9f1feac
eth, cli: prevent snap sync mode migration - v0.3.x (#494)
manav2401 Aug 17, 2022
77f444a
fix: whitelist/requiredblocks regression (#497)
manav2401 Aug 17, 2022
2a92cb1
fix: whitelist/requiredblocks regression (#496)
manav2401 Aug 17, 2022
f574c4a
consensus/bor/heimdall: add new meter and timer metrics in heimdall c…
manav2401 Aug 23, 2022
3241877
chg : txpool.pricelimit to 1
0xsharma Aug 23, 2022
057f50e
fix : TestConfigLegacy
0xsharma Aug 23, 2022
95f551e
Merge pull request #502 from maticnetwork/shivam/txpool-pricelimit
0xsharma Aug 24, 2022
8186e4d
chg : sealer.gasPrice to 1 from 30Gwei
0xsharma Aug 24, 2022
632c164
chg : default sealer.gasPrice from 1wei to 1Gwei
0xsharma Aug 25, 2022
84529a1
rm: snapshot found log in bor consensus (#504)
manav2401 Aug 25, 2022
eb16a3d
update defaults in new-cli
manav2401 Aug 26, 2022
1ac5f09
fix : TestConfigLegacy
0xsharma Aug 26, 2022
75f4411
fix: rename requiredblocks flag usage (#505)
manav2401 Aug 26, 2022
9c370f4
Merge pull request #503 from maticnetwork/shivam/sealer-gasPrice
0xsharma Aug 26, 2022
d73d6df
params: update meta version
manav2401 Aug 30, 2022
5067c6c
add : TestValidatorWentOffline
0xsharma Aug 31, 2022
a2dc545
rm : interrupt + sleep
0xsharma Aug 31, 2022
9ac97e0
chg : minor changes
0xsharma Sep 2, 2022
714aef4
Property based tests on TxPool: pending, locals (#466)
JekaMas Sep 3, 2022
c6c2e74
Merge branch 'develop' of github.com:maticnetwork/bor into arpit/pos-655
temaniarpit27 Sep 5, 2022
0685838
Merge branch 'shiva/pos-730' of github.com:maticnetwork/bor into arpi…
temaniarpit27 Sep 5, 2022
c0a4b0f
fix flacky test
JekaMas Sep 5, 2022
9d975fb
lint
JekaMas Sep 5, 2022
e5fcab7
use crypto rand
JekaMas Sep 5, 2022
55a9ece
fix ci
temaniarpit27 Sep 5, 2022
7136ca6
linters
JekaMas Sep 5, 2022
debb388
fix ci, lint
temaniarpit27 Sep 5, 2022
5f9d156
merge
JekaMas Sep 5, 2022
624e6bb
Merge branch 'develop' of github.com:maticnetwork/bor into shiva/pos-730
temaniarpit27 Sep 5, 2022
18546fe
Merge branch 'shiva/pos-730' of github.com:maticnetwork/bor into shiv…
temaniarpit27 Sep 5, 2022
a4eb03e
linters
JekaMas Sep 5, 2022
91108ce
Merge branch 'shiva/pos-730' of github.com:maticnetwork/bor into arpi…
temaniarpit27 Sep 5, 2022
2fd85f6
the source of randomness
JekaMas Sep 5, 2022
5ef98af
merge base branch
temaniarpit27 Sep 5, 2022
e5b8af5
fix testcases
temaniarpit27 Sep 5, 2022
85890fe
Merge pull request #507 from maticnetwork/shiva/pos-730
0xsharma Sep 5, 2022
15f64ee
Remove orphaned containers when shutdown devnet
cffls Sep 6, 2022
fe7ca40
Merge branch 'develop' of github.com:maticnetwork/bor into arpit/pos-655
temaniarpit27 Sep 8, 2022
a11952f
Crypto-secure package with math/rand interface (#509)
JekaMas Sep 14, 2022
cfb7a1c
new: unskip failing tests
Raneet10 Sep 22, 2022
c91d4ca
rpc, ethclient: cater 'finalized' and 'safe' blocks in ethclient (#517)
manav2401 Sep 22, 2022
9f85e71
add tests
temaniarpit27 Sep 22, 2022
f51eae0
disable macos tests
temaniarpit27 Sep 22, 2022
813b74f
rpc, ethclient: cater 'finalized' and 'safe' blocks in ethclient (#51…
manav2401 Sep 22, 2022
7e635ed
refactor tests
temaniarpit27 Sep 22, 2022
17f403e
Merge branch 'develop' of github.com:maticnetwork/bor into arpit/pos-655
temaniarpit27 Sep 22, 2022
623d1ec
add unittest for calculate sprint
temaniarpit27 Sep 22, 2022
e45b1d4
Merge pull request #522 from maticnetwork/arpit/disable-macos
temaniarpit27 Sep 22, 2022
4dc6651
refactor tests
temaniarpit27 Sep 22, 2022
cf35be1
edit genesis test file
temaniarpit27 Sep 22, 2022
e052d1f
change matic-cli version
temaniarpit27 Sep 22, 2022
d71c6be
change matic-cli version
temaniarpit27 Sep 22, 2022
3a9e176
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into arpi…
temaniarpit27 Sep 22, 2022
aa2ce7a
fix: add bor config
Raneet10 Sep 22, 2022
9662dc7
fix heimdall version
temaniarpit27 Sep 22, 2022
a7c11d5
fix testcases
temaniarpit27 Sep 22, 2022
2a677a5
fix linters caused by previous merge (#526)
pratikspatil024 Sep 23, 2022
d6e552b
fix: conflicts from previous merge
Raneet10 Sep 23, 2022
ae5323d
new: unskip evm-benchmark tests
Raneet10 Sep 23, 2022
2e7e99f
chg : generalised state-sync integration test
0xsharma Sep 23, 2022
77db80c
Added script to generate config.toml fromstart.sh (#518)
pratikspatil024 Sep 23, 2022
0eec637
new: unskip stCreateTest
Raneet10 Sep 23, 2022
e4f0141
Merge pull request #527 from maticnetwork/shivam/pos-826
0xsharma Sep 23, 2022
2db0dc8
new: comments and cleanup
Raneet10 Sep 26, 2022
4573147
internal/cli/server: fix flag behaviour (#529)
manav2401 Sep 27, 2022
28b11d1
Merge pull request #521 from maticnetwork/raneet10/pos-618
Raneet10 Sep 27, 2022
f687575
merge develop
temaniarpit27 Sep 27, 2022
041f60b
Change heimdall branch to develop in CI
cffls Sep 28, 2022
648291a
Merge pull request #533 from cffls/develop
temaniarpit27 Sep 28, 2022
8d5f66b
new: init pos-845 testcase
Raneet10 Sep 28, 2022
690380a
Merge branch 'develop' into arpit/pos-655
temaniarpit27 Sep 28, 2022
c11e165
accounts to coinbase
temaniarpit27 Sep 28, 2022
5b324f4
new: add some more checks
Raneet10 Sep 29, 2022
09e62ca
new: assert block authors
Raneet10 Sep 29, 2022
2a6ea47
Mining Analysis (#429)
temaniarpit27 Sep 30, 2022
c8b2dd1
add : TestSprintDependantReorgs init
0xsharma Oct 3, 2022
67554f7
merge develop
temaniarpit27 Oct 4, 2022
067c037
testcase
temaniarpit27 Oct 4, 2022
fc16da5
add : minor changes
0xsharma Oct 4, 2022
1022d30
make script OS independent (#538)
manav2401 Oct 4, 2022
f98eb40
changes
0xsharma Oct 5, 2022
58170b6
chg : changes
0xsharma Oct 5, 2022
54f97b8
internal/cli: add support for bor.logs flag in new-cli (#541)
manav2401 Oct 5, 2022
4e7cf12
new: add cases
Raneet10 Oct 6, 2022
c0b8375
add : functional TestSprintLengthReorg
0xsharma Oct 6, 2022
0218f17
new: add more cases
Raneet10 Oct 7, 2022
d5fdc0a
multiple testcases
temaniarpit27 Oct 11, 2022
fdd7988
fix: PR comments
Raneet10 Oct 12, 2022
bf39845
Testing Toolkit v1 PR Template (#536)
marcello33 Oct 12, 2022
6baa56b
add : Add state sync transaction to debug_traceBlock
0xsharma Oct 12, 2022
69e2a22
results for 1000 cases
temaniarpit27 Oct 12, 2022
002717a
chg : major fix
0xsharma Oct 13, 2022
0918cf7
chg : support state-sync in newcli server debugBorBlock
0xsharma Oct 13, 2022
d0508e7
chg : lint files
0xsharma Oct 14, 2022
7c9cd4c
fix: benchmark test
Raneet10 Oct 14, 2022
02e84ff
Merge pull request #548 from maticnetwork/raneet10/bench-fix
Raneet10 Oct 15, 2022
554712e
chg : use https://github.com/maticnetwork/crand instead of JekaMas/crand
0xsharma Oct 17, 2022
225a826
add : TriesInMemory flag
0xsharma Oct 17, 2022
3db339b
add : lint
0xsharma Oct 17, 2022
e39da65
modified testcase, modified producer delay
temaniarpit27 Oct 17, 2022
ec57aab
chg : minor fix
0xsharma Oct 17, 2022
b2c125f
add : lint
0xsharma Oct 17, 2022
a8a2d5d
refactor testcase
temaniarpit27 Oct 18, 2022
916c7d8
increase max reorg len
temaniarpit27 Oct 18, 2022
793f8e1
pull changes
Raneet10 Oct 18, 2022
1ffbfa4
go routine for test
temaniarpit27 Oct 18, 2022
4afed25
disabling tests for now
temaniarpit27 Oct 19, 2022
fe5b6ad
refactor
temaniarpit27 Oct 19, 2022
be7327e
fix ci
temaniarpit27 Oct 19, 2022
743871f
fix CI
temaniarpit27 Oct 19, 2022
1ae3d42
fix: address PR comments
Raneet10 Oct 19, 2022
c954606
dev: fix: ci (#559)
marcello33 Oct 20, 2022
aab7214
Force load default tracers
cffls Oct 19, 2022
8aab374
metrics: handle values from config file (#565)
manav2401 Oct 20, 2022
238d5a4
chg : major fix
0xsharma Oct 20, 2022
7554a16
chg : minor fix
0xsharma Oct 20, 2022
2f648fb
chg : fix derference error on config without borTraceEnabled
0xsharma Oct 21, 2022
654f56f
chg : standardTraceBlockToFile fix
0xsharma Oct 21, 2022
2542403
add : lint
0xsharma Oct 21, 2022
e17ee36
Changed default value of maxpeers from 200 to 50, update docs (#555)
pratikspatil024 Oct 21, 2022
723ff9a
chg : minor change
0xsharma Oct 21, 2022
ce88164
Merge pull request #551 from maticnetwork/shivam/POS-783
0xsharma Oct 25, 2022
3fdb45e
Merge pull request #552 from maticnetwork/shivam/POS-784
0xsharma Oct 25, 2022
be3f297
Merge pull request #547 from maticnetwork/shivam/POS-824
0xsharma Oct 25, 2022
1ab225c
Removed vhosts for ws and replaced cors with origins (#574)
pratikspatil024 Nov 3, 2022
c5569e4
fix : TestRemoteMultiNotifyFull
0xsharma Nov 4, 2022
0435471
merge develop
Raneet10 Nov 9, 2022
3e4b872
pos-845: subtests
Raneet10 Nov 9, 2022
27cd2ae
pos-845: parallelise subtests
Raneet10 Nov 9, 2022
82bf6d0
defer ticker.Stop
Raneet10 Nov 9, 2022
41fddd6
pos-845: efficient ticker
Raneet10 Nov 9, 2022
0c222f3
Merge pull request #535 from maticnetwork/raneet10/pos-845
Raneet10 Nov 9, 2022
7122ddb
Merge pull request #576 from maticnetwork/shivam/POS-654
0xsharma Nov 9, 2022
817ca2a
add 2 node testcase
temaniarpit27 Nov 13, 2022
b7a2827
merge develop
temaniarpit27 Nov 13, 2022
dd9147d
fix testcases
temaniarpit27 Nov 13, 2022
3da2f65
fix lints
temaniarpit27 Nov 14, 2022
a4cbe44
skip test
temaniarpit27 Nov 14, 2022
f768136
init : baseFeeChangeDenom HardFork Changes
0xsharma Nov 14, 2022
7d92be2
fix : jaipurFork & baseFeeChangeDenom hardfork num to bigInt
0xsharma Nov 14, 2022
102d293
fix tests
temaniarpit27 Nov 14, 2022
2e3924d
lint
0xsharma Nov 15, 2022
846abac
fix : failing TestJaipurFork
0xsharma Nov 15, 2022
3896c5b
ci changes
temaniarpit27 Nov 15, 2022
769e2bb
change matic-cli config
temaniarpit27 Nov 15, 2022
ab6925d
fix matic cli config
temaniarpit27 Nov 15, 2022
2543e97
change version
temaniarpit27 Nov 15, 2022
4642045
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into shiv…
temaniarpit27 Nov 15, 2022
4a1653f
change sprintlength for
temaniarpit27 Nov 15, 2022
5493476
change mumbai block number
temaniarpit27 Nov 15, 2022
278f7e7
add checkpoint delay
temaniarpit27 Nov 15, 2022
db1c313
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into shiv…
temaniarpit27 Nov 15, 2022
5a9a8c5
change hardfork to span start
temaniarpit27 Nov 15, 2022
709bbc8
change mumbai and mainnet blocks
temaniarpit27 Nov 15, 2022
1832134
Merge pull request #579 from maticnetwork/shivam/POS-972
temaniarpit27 Nov 15, 2022
2b84185
change ci params
temaniarpit27 Nov 15, 2022
22988ac
bugfix
temaniarpit27 Nov 15, 2022
d548246
change 5 sec to 2 sec
temaniarpit27 Nov 15, 2022
9330780
Update smoke_test.sh
temaniarpit27 Nov 16, 2022
f919886
Update sealer_test.go
temaniarpit27 Nov 16, 2022
e004e5f
init: pos-535 smoke test
Raneet10 Nov 17, 2022
366496f
revert changes for delhi fork
temaniarpit27 Nov 17, 2022
f713647
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into arpi…
temaniarpit27 Nov 17, 2022
5f0fc27
fix
Raneet10 Nov 17, 2022
6c77efc
fix logic
Raneet10 Nov 17, 2022
55001d8
Merge pull request #461 from maticnetwork/arpit/pos-655
temaniarpit27 Nov 17, 2022
c6079a4
chg parenthesis
Raneet10 Nov 17, 2022
529e81b
bool types
Raneet10 Nov 17, 2022
ee2009e
op
Raneet10 Nov 17, 2022
245b327
sq paranthesis
Raneet10 Nov 17, 2022
1b8ef50
cleanup
Raneet10 Nov 17, 2022
dfa0514
Merge branch 'develop' of https://github.com/maticnetwork/bor into ra…
Raneet10 Nov 17, 2022
b2a453b
chg: increase timeout
Raneet10 Nov 18, 2022
87c54fa
chg: remove repetitive logs
Raneet10 Nov 18, 2022
1da5b36
new: timer
Raneet10 Nov 18, 2022
f3573f0
fix: timer condition
Raneet10 Nov 18, 2022
296a9c4
fix: incorrect condition
Raneet10 Nov 18, 2022
a3e7769
Merge pull request #583 from maticnetwork/raneet10/pos-535
Raneet10 Nov 18, 2022
1004bbd
merge qa to develop
temaniarpit27 Nov 20, 2022
06c8ca6
fix unused imports
temaniarpit27 Nov 20, 2022
07f9741
add : bor.logs in custom GetFilterLogs
0xsharma Nov 21, 2022
b6d1276
fix : lint
0xsharma Nov 21, 2022
4cd58f1
fix : minor fix
0xsharma Nov 21, 2022
72831c1
Merge pull request #585 from maticnetwork/shivam/POS-992
0xsharma Nov 21, 2022
3008b04
add : statesync tx added to GetBlockTransactionCount rpc
0xsharma Nov 21, 2022
5f8f898
lint : fix lint
0xsharma Nov 21, 2022
aece5ca
Merge pull request #587 from maticnetwork/shivam/POS-991
0xsharma Nov 21, 2022
ac0593d
mumbai fork - 13th dewc
temaniarpit27 Nov 21, 2022
8ca3251
version change
temaniarpit27 Nov 21, 2022
4c8ff3a
merge v0.2.17
temaniarpit27 Nov 22, 2022
a4a39a4
merge v0.2.18-candidate
temaniarpit27 Nov 22, 2022
be58978
revert some changes
temaniarpit27 Nov 22, 2022
d89759c
fix issues
temaniarpit27 Nov 22, 2022
7ae5bce
minor refactor
temaniarpit27 Nov 22, 2022
b1739f6
Merge pull request #588 from maticnetwork/arpit/qa-to-develop
temaniarpit27 Nov 22, 2022
4b6115d
merge latest qa
temaniarpit27 Nov 29, 2022
59dccd3
resolve merge conflicts
temaniarpit27 Nov 29, 2022
d96662a
update go version in release.yml
temaniarpit27 Nov 29, 2022
742990c
update goversion in makefile
temaniarpit27 Nov 29, 2022
dab3161
Adding of 0.3.0 package changes, control file updates, postinst chang…
djpolygon Dec 1, 2022
5d6ffa7
Merge pull request #613 from maticnetwork/djpolygon/v0.3.1-mumbai-update
djpolygon Dec 4, 2022
c807faa
merge current qa branch
temaniarpit27 Dec 5, 2022
adf8c5f
Merge branch 'arpit/v0.3.1-mumbai-candidate' of github.com:maticnetwo…
temaniarpit27 Dec 5, 2022
180d444
remove unwanted code
temaniarpit27 Dec 5, 2022
e68d2d1
Fix docker publish authentication issue
cffls Dec 5, 2022
b7f37c7
Merge pull request #603 from maticnetwork/arpit/v0.3.1-mumbai-candidate
temaniarpit27 Dec 13, 2022
6d11117
Revert "Merge pull request #435 from maticnetwork/POS-553"
manav2401 Dec 13, 2022
0b89983
merge latest master to qa
temaniarpit27 Dec 13, 2022
a8eb21f
Merge pull request #631 from maticnetwork/manav/revert-pos-533
temaniarpit27 Dec 13, 2022
7364f94
revert change for release for go1.19
temaniarpit27 Dec 13, 2022
b177669
Merge branch 'arpit/master-to-qa' of github.com:maticnetwork/bor into…
temaniarpit27 Dec 13, 2022
2e45f3b
Updating packager as binutils changed version so that apt-get install…
djpolygon Dec 14, 2022
660677b
Merge branch 'master' of github.com:maticnetwork/bor into arpit/maste…
temaniarpit27 Dec 14, 2022
5eebbfa
Merge pull request #634 from maticnetwork/djpolygon/packagerDepUpdate
djpolygon Dec 14, 2022
b7ed9de
Add state pruning to new CLI
cffls Dec 14, 2022
9b2407a
Minor wording fix in prune state description
cffls Dec 15, 2022
7217f79
Merge pull request #630 from maticnetwork/arpit/master-to-qa
temaniarpit27 Dec 15, 2022
b7b1545
Bumping control file versions
djpolygon Dec 18, 2022
205930e
Merge pull request #639 from maticnetwork/djpolygon/3.2-beta_control
djpolygon Dec 19, 2022
59bdbef
Mainnet Delhi fork
cffls Jan 4, 2023
c12e8f2
Set version to stable
cffls Jan 4, 2023
db7eb29
change delhi hardfork block number
temaniarpit27 Jan 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/CODEOWNERS

This file was deleted.

67 changes: 54 additions & 13 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,71 @@
---
name: Report a bug
about: Something with go-ethereum is not working as expected
about: Something with bor client is not working as expected
title: ''
labels: 'type:bug'
assignees: ''
---

#### System information
Our support team has aggregated some common issues and their solutions from past which are faced while running or interacting with a bor client. In order to prevent redundant efforts, we would encourage you to have a look at the [FAQ's section](https://docs.polygon.technology/docs/faq/technical-faqs) of our documentation mentioning the same, before filing an issue here. In case of additional support, you can also join our [discord](https://discord.com/invite/zdwkdvMNY2) server

Geth version: `geth version`
OS & Version: Windows/Linux/OSX
Commit hash : (if `develop`)
<!--
NOTE: Please make sure to check of any addresses / private keys / rpc url's / IP's before sharing the logs or anything from the additional information section (start.sh or heimdall config).
-->

#### Expected behaviour
#### **System information**

Bor client version: [e.g. v0.2.16] <!--Can be found by running the command `bor version`-->

#### Actual behaviour
Heimdall client version: [e.g. v0.2.10] <!--Can be found by running the command `heimdalld version`-->

OS & Version: Windows / Linux / OSX

#### Steps to reproduce the behaviour
Environment: Polygon Mainnet / Polygon Mumbai / Devnet

Type of node: Validator / Sentry / Archive

#### Backtrace
Additional Information: <!--Modifications in the client (if any)-->

````
[backtrace]
````
#### **Overview of the problem**

When submitting logs: please submit them as text and not screenshots.
Please describe the issue you experiencing.
<!--
Mention in detail about the issue. Also mention the actual and expected behaviour.
-->

#### **Reproduction Steps**

Please mention the steps required to reproduce this issue.

<!--
E.g.
1. Start bor using these flags.
2. Node is unable to connect with other peers in the network and keeps disconnecting.
-->

#### **Logs / Traces / Output / Error Messages**

Please post any logs/traces/output/error messages (as text and not screenshots) which you believe may have caused the issue. If the log is longer than a few dozen lines, please include the URL to the [gist](https://gist.github.com/) of the log instead of posting it in the issue.

**Additional Information**

In order to debug the issue faster, we would stongly encourage if you can provide some of the details mentioned below (whichever seems relevant to your issue)

1. Your `start.sh` file or `bor.service`, if you're facing some peering issue or unable to use some service (like `http` endpoint) as expected. Moreover, if possible mention the chain configuration printed while starting the node which looks something like `Initialised chain configuration config="{ChainID: 137, ..., Engine: bor}"`
<!--
It should be start.sh if you're using bor v0.2.x and bor.service (ideally located under `/lib/systemd/system/`) if it's bor v0.3.x. Mention this file if you're facing any issues like unable to use some flag/s according to their expected behaviour.
-->
2. The result of `eth.syncing`, `admin.peers.length`, `admin.nodeInfo`, value of the `maxpeers` flag in start.sh, and bootnodes/static nodes (if any) is you're facing some syncing issue.
<!--
You can get the above results by attaching to the IPC using the command `bor attach $BORDIR/bor.ipc` or `bor attach $DATADIR/bor.ipc` and running the mentioned commands.
Mention this if you're facing issues where bor keeps stalling and is not importing new blocks or making any progress. Adding chain configuration mentioned in the previous step would also be really helpful here as it might also be a genesis mismatch issue.
-->
3. Your `heimdall-config.toml` parameters for checking the ETH and BOR RPC url's, incase of issue with bor heimdall communication.
<!--
The location should be `~/.heimdalld/config/` if running heimdall v0.2.x and `/var/lib/heimdalld/config` if running heimdall v0.3.x.
As a sub-set of syncing issues, if your node keeps printing logs like `Retrying again in 5 seconds to fetch data from Heimdall`, it might be an issue with the communication between your bor node and heimdall node. In this case, also check if all the heimdall services (heimdalld, bridge, rest-server) are running correctly.
-->
4. The CURL request (for that specific error) if you're facing any issues or identify a bug while making RPC request.
<!--
Make sure you hide the IP of your machine if you're doing the request externally.
-->
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ assignees: ''

# Rationale

Why should this feature exist?
The motivation behind the feature and why should this feature exist?
What are the use-cases?

# Implementation

Do you have ideas regarding the implementation of this feature?
Are you willing to implement this feature?
Do you have ideas regarding the implementation of this feature? (Mention reference links if any)
Any alternative solutions or features you've considered?
Are you willing to implement this feature?
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
name: Ask a question
about: Something is unclear
name: Question/Support
about: Ask a question or request support
title: ''
labels: 'type:docs'
assignees: ''
---

This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [discord](https://discord.gg/nthXNEv) or the Ethereum stack exchange at https://ethereum.stackexchange.com.
This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation.

For general questions please join our [discord](https://discord.com/invite/zdwkdvMNY2) server.
6 changes: 5 additions & 1 deletion .github/matic-cli-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ defaultFee: 2000
borChainId: "15001"
heimdallChainId: heimdall-15001
contractsBranch: jc/v0.3.1-backport
sprintSize: 64
blockNumber: '0'
blockTime: '2'
numOfValidators: 3
numOfNonValidators: 0
ethURL: http://ganache:9545
ethHostUser: ubuntu
devnetType: docker
borDockerBuildContext: "../../bor"
heimdallDockerBuildContext: "https://github.com/maticnetwork/heimdall.git#develop"
heimdallDockerBuildContext: "https://github.com/maticnetwork/heimdall.git#develop"
44 changes: 44 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Description

Please provide a detailed description of what was done in this PR

# Changes

- [ ] Bugfix (non-breaking change that solves an issue)
- [ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

# Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

# Checklist

- [ ] I have added at least 2 reviewer or the whole pos-v1 team
- [ ] I have added sufficient documentation in code
- [ ] I will be resolving comments - if any - by pushing each fix in a separate commit and linking the commit hash in the comment reply

# Cross repository changes

- [ ] This PR requires changes to heimdall
- In case link the PR here:
- [ ] This PR requires changes to matic-cli
- In case link the PR here:

## Testing

- [ ] I have added unit tests
- [ ] I have added tests to CI
- [ ] I have tested this code manually on local environment
- [ ] I have tested this code manually on remote devnet using express-cli
- [ ] I have tested this code manually on mumbai
- [ ] I have created new e2e tests into express-cli

### Manual tests

Please complete this section with the steps you performed if you ran manual tests for this functionality, otherwise delete it

# Additional comments

Please post additional comments in this section if you have them, otherwise delete it
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:
branches:
- "**"
types: [opened, synchronize, edited]
types: [opened, synchronize]

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -19,7 +19,7 @@ jobs:
if: (github.event.action != 'closed' || github.event.pull_request.merged == true)
strategy:
matrix:
os: [ ubuntu-20.04, macos-11 ] # list of os: https://github.com/actions/virtual-environments
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -29,7 +29,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: 1.18.x
go-version: 1.19.x

- name: Install dependencies on Linux
if: runner.os == 'Linux'
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:

- name: test-integration
run: make test-integration

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: maticnetwork/matic-cli
ref: v0.3.0-dev
ref: arpit/pos-655-2
path: matic-cli

- name: Install dependencies on Linux
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
cd matic-cli/devnet/code/contracts
npm run truffle exec scripts/deposit.js -- --network development $(jq -r .root.tokens.MaticToken contractAddresses.json) 100000000000000000000
cd -
bash bor/integration-tests/smoke_test.sh
timeout 20m bash bor/integration-tests/smoke_test.sh

- name: Upload logs
if: always()
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/packager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ jobs:
- name: Removing systemd file
run: rm -rf packaging/deb/bor/lib/systemd/system/bor.service

- name: Updating the apt-get
run: sudo apt-get update -y

- name: Adding requirements for cross compile
run: sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu

Expand Down Expand Up @@ -730,4 +733,4 @@ jobs:
prerelease: true
files: |
packaging/deb/bor**.deb
binary/bo**
binary/bo**
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ jobs:
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.17.x
go-version: 1.19.x

- name: Prepare
id: prepare
run: |
TAG=${GITHUB_REF#refs/tags/}
echo ::set-output name=tag_name::${TAG}

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB }}
password: ${{ secrets.DOCKERHUB_KEY }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

Expand All @@ -39,5 +45,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.prepare.outputs.tag_name }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
DOCKER_USERNAME: ${{ secrets.DOCKERHUB }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ profile.cov
./bor-debug-*

dist

*.csv
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
path = tests/evm-benchmarks
url = https://github.com/ipsilon/evm-benchmarks
shallow = true
[submodule "tests/testdata"]
path = tests/testdata
url = https://github.com/ethereum/tests.git
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ linters:
- unconvert
- unparam
- wsl
- asasalint
#- errorlint causes stack overflow. TODO: recheck after each golangci update

linters-settings:
Expand Down
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ bor:
protoc:
protoc --go_out=. --go-grpc_out=. ./internal/cli/server/proto/*.proto

generate-mocks:
go generate mockgen -destination=./tests/bor/mocks/IHeimdallClient.go -package=mocks ./consensus/bor IHeimdallClient
go generate mockgen -destination=./eth/filters/IBackend.go -package=filters ./eth/filters Backend

geth:
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
Expand Down Expand Up @@ -61,7 +65,7 @@ test-race:
$(GOTEST) --timeout 15m -race -shuffle=on $(TESTALL)

test-integration:
$(GOTEST) --timeout 30m -tags integration $(TESTE2E)
$(GOTEST) --timeout 60m -tags integration $(TESTE2E)

escape:
cd $(path) && go test -gcflags "-m -m" -run none -bench=BenchmarkJumpdest* -benchmem -memprofile mem.out
Expand All @@ -71,7 +75,7 @@ lint:

lintci-deps:
rm -f ./build/bin/golangci-lint
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.46.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.48.0

goimports:
goimports -local "$(PACKAGE)" -w .
Expand All @@ -93,7 +97,7 @@ devtools:
$(GOBUILD) -o $(GOBIN)/codecgen github.com/ugorji/go/codec/codecgen
$(GOBUILD) -o $(GOBIN)/abigen ./cmd/abigen
$(GOBUILD) -o $(GOBIN)/mockgen github.com/golang/mock/mockgen
$(GOBUILD) -o $(GOBIN)/protoc-gen-go github.com/golang/protobuf/protoc-gen-go
$(GOBUILD) -o $(GOBIN)/protoc-gen-go google.golang.org/protobuf/cmd/protoc-gen-go
PATH=$(GOBIN):$(PATH) go generate ./common
PATH=$(GOBIN):$(PATH) go generate ./core/types
PATH=$(GOBIN):$(PATH) go generate ./consensus/bor
Expand Down Expand Up @@ -192,7 +196,7 @@ geth-windows-amd64:
@ls -ld $(GOBIN)/geth-windows-* | grep amd64

PACKAGE_NAME := github.com/maticnetwork/bor
GOLANG_CROSS_VERSION ?= v1.18.1
GOLANG_CROSS_VERSION ?= v1.19.1

.PHONY: release-dry-run
release-dry-run:
Expand Down Expand Up @@ -220,6 +224,7 @@ release:
-e DOCKER_PASSWORD \
-e SLACK_WEBHOOK \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(HOME)/.docker/config.json:/root/.docker/config.json \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Bor Overview
Bor is the Official Golang implementation of the Matic protocol. It is a fork of Go Ethereum - https://github.com/ethereum/go-ethereum and EVM compabile.
Bor is the Official Golang implementation of the Matic protocol. It is a fork of Go Ethereum - https://github.com/ethereum/go-ethereum and EVM compatible.

![Forks](https://img.shields.io/github/forks/maticnetwork/bor?style=social)
![Stars](https://img.shields.io/github/stars/maticnetwork/bor?style=social)
Expand Down
Loading