Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
f22cd77
build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4
dependabot[bot] Jun 20, 2022
8a24c54
tests: issue with ConsensusParams deserialization
tzdybal Jun 21, 2022
05d6e67
fix: handle ConsensusParams in state deserialization
tzdybal Jun 21, 2022
eb53788
tests: add State deserialization test
tzdybal Jun 21, 2022
66a5590
Creating a .gitignore file and adding proto/pb in it
rkoalsi Jun 23, 2022
4a5d373
Ensure successful block submission even when sequencer crashes (#442)
jbowen93 Jun 24, 2022
61e10fc
build(deps): bump github.com/multiformats/go-multiaddr
dependabot[bot] Jun 27, 2022
2db5a28
build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0
dependabot[bot] Jun 28, 2022
6247abc
build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5
dependabot[bot] Jun 28, 2022
e454904
fix: ensure JSON serialization compatibility
tzdybal Jul 1, 2022
27d3eae
fix: use Tendermint JSON serlization for JSON RPC results
tzdybal Jul 4, 2022
bfa0fa4
Merge pull request #464 from celestiaorg/tzdybal/json/tmjson
tzdybal Jul 4, 2022
8a47602
never close channel in subscribe
jbowen93 Jun 3, 2022
2df6392
Cleanup
tzdybal Jul 4, 2022
d1fe08d
Merge pull request #428 from celestiaorg/jbowen93/no-close
tzdybal Jul 5, 2022
d876852
fix: change log level of WS message type error to debug
tzdybal Jul 5, 2022
e2925ee
build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
dependabot[bot] Jul 5, 2022
568ea21
Merge pull request #468 from celestiaorg/dependabot/go_modules/github…
tzdybal Jul 5, 2022
aaaa20d
build(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.7.0 to 0.…
dependabot[bot] Jul 5, 2022
8cd8832
Wrap errors returned from Store (#404)
mauriceLC92 Jul 7, 2022
b1df434
ci: stronger and more explicit linter options (#267)
tzdybal Jul 7, 2022
6e23de1
fix: saving block height after committing validators to db
distractedm1nd Jul 21, 2022
5e77f68
ci: remove duplicate linters
rootulp Jul 25, 2022
a500675
chore: move initGenesisChunks call into GetGenesisChunks
distractedm1nd Jul 21, 2022
936cdee
fix: propogate error from initGenesisChunks to GenesisChunked
distractedm1nd Jul 22, 2022
9550cf2
fix: error handling
distractedm1nd Jul 28, 2022
30fa397
Merge pull request #473 from distractedm1nd/lazy-initGenesisChunks
tzdybal Jul 28, 2022
75a387a
deps: update Tendermint to v0.34.20
tzdybal Jul 30, 2022
50e9e57
chore: use mempool from Tendermint v0.34.20
tzdybal Jul 30, 2022
0e9ab83
test: fix timeouts so TestTxMempool_ExpiredTxs_Timestamp pass on GitHub
tzdybal Jul 30, 2022
0e407a9
chore: remove unused files and vars from mempool
tzdybal Jul 31, 2022
705f608
Merge pull request #480 from celestiaorg/tzdybal/prioritized_mempool
tzdybal Aug 1, 2022
2ea2334
build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.28.1
dependabot[bot] Aug 1, 2022
09eb681
feat: support Commit gossiping on P2P level
tzdybal Aug 2, 2022
cf9367a
feat: pass gossiped Commit between block manager and p2p layer
tzdybal Aug 3, 2022
60652ee
Merge pull request #486 from celestiaorg/tzdybal/commit_gossiping
tzdybal Aug 17, 2022
8b186f9
feat: pass namespace ID to DA layers
tzdybal Aug 17, 2022
b999c05
test: enable TestUnconfirmedTxsLimit
tzdybal Aug 17, 2022
539f460
deps: update to go-libp2p v0.21.0
tzdybal Aug 17, 2022
8cfd7a7
Add fraud proof verification WIP
Manav-Aggarwal Aug 27, 2022
2e7664e
deps: update go-libp2p, go-libp2p-pubsub and go-libp2p-kad-dht
tzdybal Aug 31, 2022
0c62d0c
deps: fix go-libp2p/core imports
tzdybal Aug 31, 2022
38ac48b
lint: disable package comment warning
tzdybal Aug 31, 2022
87fe53f
deps: update github.com/ipfs/go-cid
tzdybal Sep 6, 2022
41d5cc3
Merge pull request #503 from celestiaorg/tzdybal/libp2p
tzdybal Sep 6, 2022
4728349
feat: use gossiped commit in sync
tzdybal Aug 5, 2022
ef0c966
test: try to detect block synced with gossiped commit
tzdybal Aug 5, 2022
358bf20
feat: broadcast SignedHeader
tzdybal Aug 23, 2022
3420af7
Merge pull request #487 from celestiaorg/tzdybal/use_last_commit
tzdybal Sep 8, 2022
7571cf0
Update data_layer_height to da_height (#519)
nashqueue Sep 9, 2022
64b912f
add generated tendermint proto from get_deps script (#522)
nashqueue Sep 9, 2022
b26f835
build(deps): bump github.com/multiformats/go-multiaddr
dependabot[bot] Sep 12, 2022
0a9ac21
build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0
dependabot[bot] Sep 13, 2022
6a7b5f7
Remove Ismail and John from CODEOWNERS
adlerjohn Sep 26, 2022
3e0fd8d
testing: Use context in integration test (#539)
tzdybal Sep 26, 2022
2e000cf
build(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.8.0 to 0.…
dependabot[bot] Sep 26, 2022
718a99f
build(deps): bump nosborn/github-action-markdown-cli from 3.1.0 to 3.…
dependabot[bot] Sep 26, 2022
2eb987e
ADR: No Transaction Gossiping and Mempool for Light Clients (#532)
nashqueue Sep 27, 2022
722b44e
Update for cosmos-sdk v0.46.1 compatibility (#536)
tzdybal Sep 27, 2022
fce0c43
Merge branch 'origin/main' into manav/verify_fraud_proof
tzdybal Sep 28, 2022
c1555dd
Update state/executor.go
Manav-Aggarwal Oct 1, 2022
f9fd481
Resolve some comments
Manav-Aggarwal Oct 1, 2022
fbfee91
Clear more errors
Manav-Aggarwal Oct 1, 2022
cc0a295
Rename to rollmint (#545)
tzdybal Oct 4, 2022
24dc3c4
fix: update proto files to v0.34.21 (#547)
tzdybal Oct 4, 2022
2eba9c6
Refactor genAndGossipFraudProofIfNeeded
Manav-Aggarwal Oct 9, 2022
5ef7ab3
Revert fraudproof type to remove serialization errors
Manav-Aggarwal Oct 9, 2022
965aa73
Remove local dependencies from go mod file
Manav-Aggarwal Oct 10, 2022
1918c39
Update go.mod file to have specific commit sha hash of celestiaorg/te…
Manav-Aggarwal Oct 11, 2022
c08494d
Fix small test errors
Manav-Aggarwal Oct 11, 2022
78d7434
Fix sleep error
Manav-Aggarwal Oct 11, 2022
c1b6483
Pass logger config to mockserver (#553)
randomshinichi Oct 13, 2022
cac373e
Merge branch 'main' into manav/verify_fraud_proof
tzdybal Oct 13, 2022
d4f4050
deps: update protobuf scripts & files to use correct version
tzdybal Oct 13, 2022
70915f2
Introduce types.NamespaceID (#554)
randomshinichi Oct 13, 2022
043f59d
Merge branch 'main' into manav/verify_fraud_proof
tzdybal Oct 13, 2022
e1fce5b
Update node/integration_test.go
Manav-Aggarwal Oct 13, 2022
78b29d2
Call get_deps.sh and update abci types.proto
Manav-Aggarwal Oct 13, 2022
68a816d
Update spelling of comparison bc linter errors
Manav-Aggarwal Oct 13, 2022
e3bca08
Configure local-prefix for goimports linter (#556)
tzdybal Oct 14, 2022
2a8aabe
Change rollmint ethermint to optimint
Manav-Aggarwal Oct 17, 2022
073ba6e
build(deps): bump github.com/dgraph-io/badger/v3 (#559)
dependabot[bot] Oct 18, 2022
00fe9c3
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#558)
dependabot[bot] Oct 18, 2022
599ead7
Merge branch main into manav/verify_fraud_proof
tzdybal Oct 18, 2022
cb5c744
Change rollmint ethermint to optimint (#560)
tzdybal Oct 18, 2022
0aee362
Delete version/types.proto file
Manav-Aggarwal Oct 20, 2022
5b001aa
Merge branch 'main' into manav/verify_fraud_proof
Manav-Aggarwal Oct 20, 2022
7bd10ac
Add inline comment explaining integration test check
Manav-Aggarwal Oct 20, 2022
b7359ab
Do not downgrade tendermint version
Manav-Aggarwal Oct 20, 2022
34f0a31
Update proto/get_deps.sh
Manav-Aggarwal Oct 20, 2022
00c5837
deps: celestiaorg/tendermint@abci_fraud_proofs
tzdybal Oct 20, 2022
7521470
Update build to replace correct module (#561)
joroshiba Oct 27, 2022
76b5b36
Address nit picky comments
Manav-Aggarwal Oct 27, 2022
9c1bf08
Refactor code into createAndStartNodes
Manav-Aggarwal Oct 27, 2022
7e3fccc
Merge branch 'main' into manav/verify_fraud_proof
Manav-Aggarwal Oct 27, 2022
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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# global owners are only requested if there isn't a more specific
# codeowner specified below. For this reason, the global codeowners
# are often repeated in package-level definitions.
* @tzdybal @liamsi @adlerjohn
* @tzdybal
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-da-mockserv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: celestiaorg/optimint-mockserv
IMAGE_NAME: celestiaorg/rollmint-mockserv

jobs:
docker-build:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-build-ethermint-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: celestiaorg/ethermint-debug
TAG_PREFIX: optimint-
TAG_PREFIX: rollmint-

jobs:
docker-build:
Expand Down Expand Up @@ -40,10 +40,10 @@ jobs:
ls
mv ethermint ..
cd ..
cp -R optimint ethermint
cp -R rollmint ethermint
cd ethermint
rm -rf .git
go mod edit -replace=github.com/celestiaorg/optimint=./optimint
go mod edit -replace=github.com/celestiaorg/rollmint=./rollmint
go mod tidy -compat=1.17 -e
- name: Docker meta
id: meta
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/docker-build-test-ethermint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: celestiaorg/ethermint
TAG_PREFIX: optimint-
TAG_PREFIX: rollmint-

jobs:
docker-build:
Expand All @@ -37,15 +37,16 @@ jobs:
with:
repository: celestiaorg/ethermint
path: ethermint
ref: optimint-v0.3.0-rebase
- name: Move Stuff and Tidy
run: |
ls
mv ethermint ..
cd ..
cp -R optimint ethermint
cp -R rollmint ethermint
cd ethermint
rm -rf .git
go mod edit -replace=github.com/celestiaorg/optimint=./optimint
go mod edit -replace=github.com/celestiaorg/optimint=./rollmint
go mod tidy -compat=1.17 -e
- name: Docker meta
id: meta
Expand Down Expand Up @@ -84,18 +85,20 @@ jobs:
with:
repository: celestiaorg/ephemeral-cluster
path: ephemeral-cluster
ref: jbowen93/mess
- name: Clone ethermint repo
uses: actions/checkout@v3
with:
repository: celestiaorg/ethermint
path: ethermint
ref: optimint-v0.3.0-rebase
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: "Setup Cluster"
run: |
export ETHERMINT_IMAGE_TAG=optimint-$(git rev-parse --short "$GITHUB_SHA")
export ETHERMINT_IMAGE_TAG=rollmint-$(git rev-parse --short "$GITHUB_SHA")
echo $ETHERMINT_IMAGE_TAG
cd ephemeral-cluster
scripts/minimal-ethermint.sh
Expand All @@ -105,13 +108,9 @@ jobs:
docker ps -a
echo "------------- docker logs core0 -------------"
docker logs core0
echo "------------- docker logs bridge0 -------------"
docker logs bridge0
echo "------------- docker logs light0 -------------"
docker logs light0
echo "------------- docker logs dalc0 -------------"
docker logs dalc0
echo "------------- docker logs evmos0 -------------"
echo "------------- docker logs ethermint0 -------------"
docker logs ethermint0
cd ethermint
echo "------------- go test ./tests/rpc/... -------------"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: markdownlint-cli
uses: nosborn/github-action-markdown-cli@v3.1.0
uses: nosborn/github-action-markdown-cli@v3.2.0
with:
files: .
config-file: .markdownlint.yaml
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
proto/pb
proto/tendermint
27 changes: 27 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
run:
timeout: 5m
modules-download-mode: readonly
# mempool and indexer code is borrowed from Tendermint
skip-dirs:
- mempool
- state/indexer
- state/txindex

linters:
enable:
- deadcode
- errcheck
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- misspell
- revive
- staticcheck
- structcheck
- typecheck
- unused
- varcheck

issues:
exclude-use-default: false

linters-settings:
revive:
rules:
- name: package-comments
disabled: true
goimports:
local-prefixes: github.com/celestiaorg
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Finding an issue

GitHub issues are used to track the work associated with Optimint. That's where you can find things to work on.
GitHub issues are used to track the work associated with rollmint. That's where you can find things to work on.

Issue labels have been used to help designate the priority, status and beginner-friendliness of various issues. Here are some of the ones that are most relevant to finding a good issue to work on:

Expand All @@ -11,7 +11,7 @@ Issue labels have been used to help designate the priority, status and beginner-

No explicit permission is needed to work on these issues but it would be good idea to tag the user who opened the issue and ask that the issue is assinged to yourself.

All issue labels can be [found here](https://github.com/celestiaorg/optimint/labels) for you to explore and see what peaks your interest.
All issue labels can be [found here](https://github.com/celestiaorg/rollmint/labels) for you to explore and see what peaks your interest.

## Contribution process

Expand Down
2 changes: 2 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rollmint
Copyright 2021-2022 Celestia Labs
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# optimint
# rollmint

ABCI-client implementation for Optimistic Rollups.

Design document: <https://docs.google.com/document/d/12gZow_JTJjRrmaD2mNTmYniLhyxVLSyDd7Fbxo5UnA8/edit?usp=sharing>

[![build-and-test](https://github.com/celestiaorg/optimint/actions/workflows/test.yml/badge.svg)](https://github.com/celestiaorg/optimint/actions/workflows/test.yml)
[![golangci-lint](https://github.com/celestiaorg/optimint/actions/workflows/lint.yml/badge.svg)](https://github.com/celestiaorg/optimint/actions/workflows/lint.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/celestiaorg/optimint)](https://goreportcard.com/report/github.com/celestiaorg/optimint)
[![codecov](https://codecov.io/gh/celestiaorg/optimint/branch/main/graph/badge.svg?token=CWGA4RLDS9)](https://codecov.io/gh/celestiaorg/optimint)
[![GoDoc](https://godoc.org/github.com/celestiaorg/optimint?status.svg)](https://godoc.org/github.com/celestiaorg/optimint)
[![build-and-test](https://github.com/celestiaorg/rollmint/actions/workflows/test.yml/badge.svg)](https://github.com/celestiaorg/rollmint/actions/workflows/test.yml)
[![golangci-lint](https://github.com/celestiaorg/rollmint/actions/workflows/lint.yml/badge.svg)](https://github.com/celestiaorg/rollmint/actions/workflows/lint.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/celestiaorg/rollmint)](https://goreportcard.com/report/github.com/celestiaorg/rollmint)
[![codecov](https://codecov.io/gh/celestiaorg/rollmint/branch/main/graph/badge.svg?token=CWGA4RLDS9)](https://codecov.io/gh/celestiaorg/rollmint)
[![GoDoc](https://godoc.org/github.com/celestiaorg/rollmint?status.svg)](https://godoc.org/github.com/celestiaorg/rollmint)
[![Twitter Follow](https://img.shields.io/twitter/follow/CelestiaOrg?style=social)](https://twitter.com/CelestiaOrg)

## Building From Source
Expand All @@ -18,8 +18,8 @@ Requires Go version >= 1.17.
To build:

```sh
git clone https://github.com/celestiaorg/optimint.git
cd optimint
git clone https://github.com/celestiaorg/rollmint.git
cd rollmint
go build -v ./...
```

Expand All @@ -40,7 +40,7 @@ To regenerate protobuf types:
We welcome your contributions! Everyone is welcome to contribute, whether it's in the form of code,
documentation, bug reports, feature requests, or anything else.

If you're looking for issues to work on, try looking at the [good first issue list](https://github.com/celestiaorg/optimint/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). Issues with this tag are suitable for a new external contributor and is a great way to find something you can help with!
If you're looking for issues to work on, try looking at the [good first issue list](https://github.com/celestiaorg/rollmint/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). Issues with this tag are suitable for a new external contributor and is a great way to find something you can help with!

See [the contributing guide](./CONTRIBUTING.md) for more details.

Expand Down
Loading