Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
9956fdf
crypto/secp2561r1: add secp256r1 curve verifiers
ulerdogan May 8, 2023
cdb9609
core/vm: implement secp256r1 verifier precompiled
ulerdogan May 8, 2023
56f1933
params: add new precompiled gas price
ulerdogan May 8, 2023
ae2d3da
core/vm, params: rename precompiled to p256verify
ulerdogan May 16, 2023
83a20d3
core/vm: simplify the return values format
ulerdogan May 22, 2023
fc057aa
crypto/secp25r1: fix reverse malleability issue
ulerdogan May 22, 2023
40e6de0
core/vm: fix testdata non-malleable for p256Verify
ulerdogan May 22, 2023
b5559e3
core/vm: update the eip number
ulerdogan Jun 22, 2023
0d115db
core, crypto/secp256r1: fix error reverts tx error
ulerdogan Jun 22, 2023
d64d8e7
crypto/secp256r1: refactor by simplfying return
ulerdogan Aug 10, 2023
2bbf30f
core/vm: force the input length of p256verify
ulerdogan Sep 24, 2023
ab2f20e
crypto/secp256r1: reject the reference pubKey coordinates
ulerdogan Sep 24, 2023
738107b
crypto/secp256r1: remove malleability check due to spec
ulerdogan Oct 7, 2023
7714cd8
fix GetTransactionReceiptsByBlock
bbaktaeho Nov 16, 2023
18c8802
fix: lint
bbaktaeho Nov 17, 2023
05a19f2
fix test, add napoli block
anshalshukla Nov 30, 2023
a0b925b
merge develop
anshalshukla Nov 30, 2023
91ff270
allow unprotected txns
temaniarpit27 Nov 30, 2023
ef9404e
Initial commit of light implementation of plugeth in bor. Bor builds …
philip-morlier Dec 1, 2023
9ad3488
All essential hooks moved into core package.
philip-morlier Dec 1, 2023
4782fe7
Hooks moved from core/state, core/rawdb, and rpc.
philip-morlier Dec 1, 2023
fe08e0c
Copying over utilities and documentaion.
philip-morlier Dec 1, 2023
1065e21
consensus/bor: handle blockalloc balance changes (#1074)
anshalshukla Dec 1, 2023
9682679
Update core/txpool/validation.go
temaniarpit27 Dec 3, 2023
4e3e1de
added log
temaniarpit27 Dec 3, 2023
073d75c
Merge branch 'arpit/fix-shadowfork' of github.com:maticnetwork/bor in…
temaniarpit27 Dec 3, 2023
abab36b
Merge pull request #1098 from maticnetwork/arpit/fix-shadowfork
temaniarpit27 Dec 6, 2023
6df1fe4
Project is functional
philip-morlier Dec 6, 2023
72cf060
Added and modified blockchain_hooks_test.go
philip-morlier Dec 6, 2023
6cd5ceb
Removed all docker infrastructure
philip-morlier Dec 6, 2023
ef612aa
Copied over .github directory from foundation project
philip-morlier Dec 7, 2023
db5b398
Update matic-cli in CI (#1103)
marcello33 Dec 8, 2023
2be2789
Merge pull request #1085 from bbaktaeho/fix/eth_api
temaniarpit27 Dec 12, 2023
8b2f024
test all default flags added via config file (#1105)
pratikspatil024 Dec 15, 2023
dac4c40
Removed the check for milestoneID in the GetVoteOnHash()
VAIBHAVJINDAL3012 Dec 18, 2023
532ebd4
debug testing
temaniarpit27 Dec 18, 2023
82f3b2a
fix issue
temaniarpit27 Dec 18, 2023
fca83f0
version change
temaniarpit27 Dec 18, 2023
964494f
upgrade version
temaniarpit27 Dec 18, 2023
2ee3919
Merge pull request #1110 from maticnetwork/arpit/pos-2410-2
temaniarpit27 Dec 19, 2023
e20d062
Merge commit '2ee39192b' into merge/light-bor-v1.2.1
philip-morlier Dec 20, 2023
937dd6a
internal/ethapi: fix signer in GetTransactionReceiptsByBlock method (…
bbaktaeho Dec 21, 2023
4887a3d
Merge pull request #21 from openrelayxyz/merge/light-bor-v1.2.1
philip-morlier Dec 21, 2023
e5fc28d
use config value for triesInMemory instead of default
temaniarpit27 Dec 27, 2023
46bd7d7
update version
temaniarpit27 Dec 27, 2023
7253bab
revert pruning hotfix
temaniarpit27 Dec 27, 2023
930c946
chg: bump some deps for sec vulsn (#1114)
marcello33 Jan 2, 2024
01e1570
chg: bump some deps for sec vulsn (#1113)
marcello33 Jan 2, 2024
96dd28e
Merge commit '930c94638' into light-merge/bor-v1.2.1
philip-morlier Jan 5, 2024
d689afc
Updated mod and sum to current with cardinal ecosystem current tag: b…
philip-morlier Jan 5, 2024
005a879
Merge pull request #22 from openrelayxyz/light-merge/bor-v1.2.1
philip-morlier Jan 5, 2024
20f9295
Merge pull request #1109 from maticnetwork/POS-2413
VAIBHAVJINDAL3012 Jan 10, 2024
a517342
update version
temaniarpit27 Jan 11, 2024
70bebc9
Merge pull request #1116 from maticnetwork/arpit/v1.2.2-beta-candidate
temaniarpit27 Jan 11, 2024
1e5211c
add test cases
anshalshukla Jan 12, 2024
f57c637
EIP7212 / PIP27 (#1069)
anshalshukla Jan 12, 2024
b54c9b9
chg: make HF consistent
anshalshukla Jan 13, 2024
dac1a42
Update client.go to allow the use of paths with the heimdall url (#1126)
PeaStew Jan 15, 2024
70e4fe9
internal/ethapi: fix call with state api
manav2401 Jan 19, 2024
f92c3c0
graphql: fix eth call params
manav2401 Jan 19, 2024
603a425
Merge pull request #1124 from maticnetwork/consistent
temaniarpit27 Jan 19, 2024
0c08204
integration-tests: update ipc path on ci tests (#1127)
manav2401 Jan 18, 2024
16a8d85
Merge branch 'v1.2.3-candidate' of https://github.com/maticnetwork/bo…
manav2401 Jan 19, 2024
5fc30ae
Revert "Consistent"
temaniarpit27 Jan 19, 2024
4be8c0e
Merge pull request #1136 from maticnetwork/revert-1124-consistent
temaniarpit27 Jan 19, 2024
077bd41
Merge branch 'v1.2.3-candidate' of github.com:maticnetwork/bor into m…
temaniarpit27 Jan 19, 2024
59fa8cb
Merge branch 'v1.2.3-candidate' of github.com:maticnetwork/bor into e…
temaniarpit27 Jan 19, 2024
8d164b9
remove: kgz precompile
anshalshukla Jan 19, 2024
e070986
remove: kgz precompile
anshalshukla Jan 19, 2024
fe8d879
resolve: merge conflicts
anshalshukla Jan 19, 2024
eb528ae
update version
temaniarpit27 Jan 19, 2024
f907455
Merge branch 'v1.2.3-candidate' of github.com:maticnetwork/bor into v…
temaniarpit27 Jan 19, 2024
a24f66a
Merge pull request #1134 from maticnetwork/eip7212
temaniarpit27 Jan 19, 2024
c4e2a3f
Merge pull request #1133 from maticnetwork/manav/fix-eth-call
temaniarpit27 Jan 19, 2024
c629c0f
break loop when delayFlag becomes false (#1121)
zhiqiangxu Jan 22, 2024
c559619
fix bug: should use Lock when mutating the flag (#1141)
pratikspatil024 Jan 22, 2024
5c201bb
Merge commit '70bebc933' into merge/light-bor-v1.2.2
philip-morlier Jan 23, 2024
c2753a1
Updated mod and sum to reflect cardinal ecosystem
philip-morlier Jan 23, 2024
86dd840
Commented first condition in testPrecompiled() in core/vm/contracts_t…
philip-morlier Jan 23, 2024
f1e0b1d
Changed parallel universe HF to Cancun HF and some important fixes (#…
pratikspatil024 Jan 23, 2024
241af1f
Merge pull request #1139 from maticnetwork/v1.2.3-candidate
manav2401 Jan 23, 2024
fc27c3d
Removed most of the crypto/kzg4844 package swaps.
philip-morlier Jan 24, 2024
75768ed
Merge commit '241af1fa1' into merge/light-bor-v1.2.3
philip-morlier Jan 24, 2024
ab724be
Changed project name in circle-ci config
philip-morlier Jan 24, 2024
2d00587
Merge pull request #25 from openrelayxyz/merge/light-bor-v1.2.3
philip-morlier Jan 24, 2024
11fac16
Updated circleci config to new ethercattle binary location
philip-morlier Jan 29, 2024
5a609dd
Fix architecture variable
Jan 31, 2024
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
116 changes: 102 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,108 @@
# Golang CircleCI 2.0 configuration file
# Check https://circleci.com/docs/2.0/language-go/ for more details
orbs:
aws-cli: circleci/[email protected] #See: https://circleci.com/orbs/registry/orb/circleci/aws-cli

version: 2.1

executors:
golang:
docker:
- image: circleci/golang:1.13
working_directory: /go/src/github.com/ethereum/go-ethereum

version: 2.1
jobs:
build:
executor: golang
test:
docker:
- image: cimg/go:1.21
steps:
- checkout
- run:
name: Prep env
command: |
mkdir -p /home/circleci/go/src
mkdir artifacts
go mod tidy
- run:
name: test rpc
command: go test ./rpc/
- run:
name: test eth
command: go test ./eth/
- run:
name: test eth/tracers
command: go test ./eth/tracers/
- run:
name: test core
command: go test ./core/
- run:
name: test core/vm
command: go test ./core/vm/
- run:
name: test core/state
command: go test ./core/state/
- run:
name: test core/rawdb
command: go test ./core/rawdb/
build_geth_push:
docker: # run the steps with Docker
- image: cimg/go:1.21.0 # ...with this image as the primary container
# this is where all `steps` will run
steps:
- checkout # check out source code to working directory
- checkout
- setup_remote_docker
- run:
command: make all
name: Prep env
command: |
mkdir -p /home/circleci/go/src
mkdir artifacts
go mod tidy
- run:
command: make test
name: build geth binaries
command: |
sudo apt update
sudo apt install gcc-aarch64-linux-gnu libc6-dev-arm64-cross wget -y
PLUGETH_UTILS_VERSION=$(grep "github.com/openrelayxyz/plugeth-utils v" go.mod | cut -d ' ' -f 2)
export GOPATH=$HOME/go
export GOARCH=amd64
export PLUGETH_UTILS_VERSION=$(grep "github.com/openrelayxyz/plugeth-utils v" go.mod | cut -d ' ' -f 2)
go build -o ./artifacts/geth-linux-amd64-$PLUGETH_UTILS_VERSION-${CIRCLE_TAG} ./cmd/geth
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOARCH=arm64 go build -o ./artifacts/geth-linux-arm64-$PLUGETH_UTILS_VERSION-${CIRCLE_TAG} ./cmd/geth
- run:
name: "Publish Release on GitHub"
command: |
go install github.com/tcnksm/[email protected]
PLUGETH_UTILS_VERSION=$(grep "github.com/openrelayxyz/plugeth-utils v" go.mod | cut -d ' ' -f 2)
NAME=plugeth-$PLUGETH_UTILS_VERSION-${CIRCLE_TAG}
VERSION=${CIRCLE_TAG}
ghr -draft -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -name $NAME -delete ${VERSION} ./artifacts/
- aws-cli/setup: #See: https://circleci.com/orbs/registry/orb/circleci/aws-cli
aws-access-key-id: ACCESS_KEY
aws-secret-access-key: SECRET_ACCESS_KEY
aws-region: AWS_REGION
- run:
name: push to s3
command: |
export PLUGETH_UTILS_VERSION=$(grep "github.com/openrelayxyz/plugeth-utils v" go.mod | cut -d ' ' -f 2)
aws s3 cp ./artifacts/geth-linux-amd64-$PLUGETH_UTILS_VERSION-${CIRCLE_TAG} s3://ethercattle-binaries/bor/$CIRCLE_TAG/bor-linux-amd64 --acl=public-read
aws s3 cp ./artifacts/geth-linux-arm64-$PLUGETH_UTILS_VERSION-${CIRCLE_TAG} s3://ethercattle-binaries/bor/$CIRCLE_TAG/bor-linux-arm64 --acl=public-read
- run:
name: Message Slack
command: |
./slack-post.sh -w $SLACK_WEBHOOK -m "*plugeth-bor*:\nTag: $CIRCLE_TAG \n"

workflows:
version: 2
test:
jobs:
- test:
filters:
tags:
ignore: /^v.*/
build_and_test:
jobs:
- test:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- build_geth_push:
context: Rivet
requires:
- test
filters:
tags:
only: /^v.*/
5 changes: 0 additions & 5 deletions .dockerignore

This file was deleted.

40 changes: 0 additions & 40 deletions .github/CONTRIBUTING.md

This file was deleted.

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

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://wiki.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/0xPolygonDevs) server
#### System information

<!--
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).
-->
PluGeth version: `Geth version`
OS & Version: Linux/OSX
Commit hash : (if `develop`)

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

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

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

OS & Version: Windows / Linux / OSX

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

Type of node: Validator / Sentry / Archive

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

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

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.
-->
When submitting logs: please submit them as text and not screenshots.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
name: Request a feature
about: Report a missing feature - e.g. as a step before submitting a PR
about: Are you looking for data this is not currently exposed through plugin hooks? Let us know.
title: ''
labels: 'type:feature'
assignees: ''
---

# Rationale

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

# Implementation

Do you have ideas regarding the implementation of this feature? (Mention reference links if any)
Any alternative solutions or features you've considered?
Do you have ideas regarding the implementation of this feature?
Are you willing to implement this feature?

8 changes: 3 additions & 5 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
name: Question/Support
about: Ask a question or request support
name: Ask a question
about: Something is unclear
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 join our [discord](https://discord.com/invite/0xPolygonDevs) server.
For questions about PluGeth you will likely get faster responses by reaching out to us on at #plugeth channel on [discord](https://discord.gg/J3tQMWCVPn).
25 changes: 0 additions & 25 deletions .github/matic-cli-config.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/pull_request_template.md

This file was deleted.

Loading