Go implementation of the Ethereum protocol
Find a file
2023-06-14 16:58:04 +02:00
.circleci chg: Update README 2020-11-14 14:30:47 +05:30
.github dev: add: merge develop in upstream-merge 2023-06-13 12:37:20 +02:00
accounts dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
beacon/engine beacon/engine: don't omit empty withdrawals in ExecutionPayloadBodies (#26698) 2023-03-07 16:30:04 +01:00
build dev: fix: build ci.go 2023-06-14 12:55:36 +02:00
builder/files added IndoreBlock for Mumbai chain (#892) 2023-06-07 20:17:26 +05:30
cmd dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
common dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
consensus dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
console dev: add: merge upstream 2023-06-09 14:34:30 +02:00
contracts/checkpointoracle contracs/checkpointoracle: fix directives (#24944) 2022-05-30 14:45:27 +02:00
core dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
crypto all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
docs dev: add: merge develop in upstream-merge 2023-06-13 12:37:20 +02:00
eth dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
ethclient dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
ethdb dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
ethstats dev: add: merge upstream 2023-06-09 14:34:30 +02:00
event dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
graphql dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
integration-tests minor chg: add new line 2022-11-25 17:50:58 +05:30
internal dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
les dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
light dev: chg: more regression changes for bor after merge 2023-06-12 19:35:40 +02:00
log dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
metrics dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
miner dev: fix: NewParallelBlockChain using Genesis 2023-06-14 11:19:42 +02:00
node dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
p2p dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
packaging add : commitinterrupt flag to toml files (#873) 2023-05-22 15:25:02 +05:30
params dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
rlp dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
rpc dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
scripts dev: add: merge develop in upstream-merge 2023-06-13 12:37:20 +02:00
signer dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
swarm swarm: fix outdated link (#26501) 2023-01-16 11:00:55 +01:00
tests dev: fix: http related and nilnil lint errors 2023-06-14 16:58:04 +02:00
trie dev: fix: thelper and tparallel lint 2023-06-14 16:29:26 +02:00
.dockerignore cmd, internal/build, docker: advertise commit date in unstable build versions (#19522) 2019-05-08 16:44:28 +03:00
.gitattributes .gitattributes: enable solidity highlighting on github (#16425) 2018-04-03 15:21:24 +02:00
.gitignore cmd/geth: enable log rotation (#26843) 2023-04-03 05:05:36 -04:00
.gitmodules new: dev: pos-398 remove duplicate git submodule 2022-07-12 17:37:44 +02:00
.golangci.yml dev: add: merge upstream 2023-06-09 14:34:30 +02:00
.goreleaser.yml Merge branch 'qa' and 'master' into develop (#663) 2023-01-13 14:47:14 +05:30
.mailmap AUTHORS: remove one more duplicate entry (#24950) 2022-05-24 21:04:21 +02:00
.snyk add ignore rule for net/http2 2022-12-12 12:26:12 +05:30
.travis.yml dev: add: merge upstream 2023-06-09 14:34:30 +02:00
appveyor.yml ci: disable coverage reporting in appveyor and travis 2023-02-17 15:34:30 +01:00
AUTHORS AUTHORS: remove one more duplicate entry (#24950) 2022-05-24 21:04:21 +02:00
circle.yml use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
COPYING use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
Dockerfile travis, build: update Go to 1.20.1 (#26653) 2023-02-16 09:00:45 +02:00
Dockerfile.alltools travis, build: update Go to 1.20.1 (#26653) 2023-02-16 09:00:45 +02:00
Dockerfile.release Merge branch 'qa' and 'master' into develop (#663) 2023-01-13 14:47:14 +05:30
fuzzbuzz.yaml Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30
go.mod dev: chg: further fixes merging develop into upstream-merge 2023-06-13 13:01:18 +02:00
go.sum dev: chg: further fixes merging develop into upstream-merge 2023-06-13 13:01:18 +02:00
interfaces.go dev: add: merge upstream 2023-06-09 14:34:30 +02:00
Makefile dev: add: merge upstream 2023-06-09 14:34:30 +02:00
oss-fuzz.sh core/vm: use golang native big.Int (#26834) 2023-03-08 13:12:53 -05:00
README.md dev: add: merge upstream 2023-06-09 14:34:30 +02:00
RETESTBOR.md new: dev: pos-398 update retesteth readme 2022-07-07 12:14:55 +02:00
SECURITY.md dev: add: pos-944: snyk and govuln integration (#578) 2022-12-06 10:53:55 +01:00
sonar-project.properties sonarqube integration (#658) 2023-01-11 17:33:53 +01:00

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 compatible.

Forks Stars Languages Issues PRs MIT License contributors size lines Discord Twitter Follow

How to contribute

Contribution Guidelines

We believe one of the things that makes Polygon special is its coherent design and we seek to retain this defining characteristic. From the outset we defined some guidelines to ensure new contributions only ever enhance the project:

  • Quality: Code in the Polygon project should meet the style guidelines, with sufficient test-cases, descriptive commit messages, evidence that the contribution does not break any compatibility commitments or cause adverse feature interactions, and evidence of high-quality peer-review
  • Size: The Polygon projects culture is one of small pull-requests, regularly submitted. The larger a pull-request, the more likely it is that you will be asked to resubmit as a series of self-contained and individually reviewable smaller PRs
  • Maintainability: If the feature will require ongoing maintenance (eg support for a particular brand of database), we may ask you to accept responsibility for maintaining this feature

Submit an issue

  • Create a new issue
  • Comment on the issue (if you'd like to be assigned to it) - that way our team can assign the issue to you.
  • If you do not have a specific contribution in mind, you can also browse the issues labelled as help wanted
  • Issues that additionally have the good first issue label are considered ideal for first-timers

Fork the repository (repo)

  • If you're not sure, here's how to fork the repo

  • If this is your first time forking our repo, this is all you need to do for this step:

    $ git clone git@github.com:[your_github_handle]/bor
    
  • If you've already forked the repo, you'll want to ensure your fork is configured and that it's up to date. This will save you the headache of potential merge conflicts.

  • To configure your fork:

    $ git remote add upstream https://github.com/maticnetwork/bor
    
  • To sync your fork with the latest changes:

    $ git checkout master
    $ git fetch upstream
    $ git merge upstream/master
    

Building the source

  • Building bor requires both a Go (version 1.19 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, run

    $ make bor
    

Make awesome changes!

  1. Create new branch for your changes

    $ git checkout -b new_branch_name
    
  2. Commit and prepare for pull request (PR). In your PR commit message, reference the issue it resolves (see how to link a commit message to an issue using a keyword.

    Checkout our Git-Rules

    $ git commit -m "brief description of changes [Fixes #1234]"
    
  3. Push to your GitHub account

    $ git push
    

Submit your PR

  • After your changes are commited to your GitHub fork, submit a pull request (PR) to the master branch of the maticnetwork/bor repo
  • In your PR description, reference the issue it resolves (see linking a pull request to an issue using a keyword)
    • ex. Updates out of date content [Fixes #1234]
  • Why not say hi and draw attention to your PR in our discord server?

Wait for review

  • The team reviews every PR
  • Acceptable PRs will be approved & merged into the master branch

Release


License

The go-ethereum library (i.e. all code outside of the cmd directory) is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the COPYING.LESSER file.

The go-ethereum binaries (i.e. all code inside of the cmd directory) are licensed under the GNU General Public License v3.0, also included in our repository in the COPYING file.


Join our Discord server

Join Polygon community share your ideas or just say hi over on Discord.