Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
824 commits
Select commit Hold shift + click to select a range
b5c86be
Merge branch 'ethereum-optimism:develop' into develop
Apr 17, 2023
f318a45
Merge branch 'ethereum-optimism:develop' into develop
Apr 17, 2023
23f2912
Merge branch 'ethereum-optimism:develop' into develop
Apr 18, 2023
8395c6c
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Apr 18, 2023
6af8b45
fix
AbdulmalikGiwa Apr 18, 2023
51b5a18
Merge remote-tracking branch 'origin/develop' into develop
AbdulmalikGiwa Apr 18, 2023
133e43d
reduce dockerfile size
AbdulmalikGiwa Apr 18, 2023
23d638d
increase image size for now
AbdulmalikGiwa Apr 18, 2023
15f0616
fix
AbdulmalikGiwa Apr 18, 2023
0a66860
clean up
AbdulmalikGiwa Apr 18, 2023
6a1c235
increase timer
AbdulmalikGiwa Apr 18, 2023
84188d9
FIXES
AbdulmalikGiwa Apr 18, 2023
326813a
more logging
AbdulmalikGiwa Apr 18, 2023
60de452
more fixes
AbdulmalikGiwa Apr 18, 2023
350f611
more fixes
AbdulmalikGiwa Apr 18, 2023
a62314e
final
AbdulmalikGiwa Apr 18, 2023
11f2b6f
Merge branch 'ethereum-optimism:develop' into develop
Apr 18, 2023
375e86f
Merge branch 'ethereum-optimism:develop' into develop
Apr 18, 2023
0015986
Merge branch 'ethereum-optimism:develop' into develop
Apr 19, 2023
5f9487e
Merge branch 'ethereum-optimism:develop' into develop
Apr 19, 2023
7482ead
prometheus update
AbdulmalikGiwa Apr 19, 2023
a0236e4
Merge remote-tracking branch 'origin/develop' into develop
AbdulmalikGiwa Apr 19, 2023
8098545
Merge branch 'ethereum-optimism:develop' into develop
Apr 20, 2023
2af46f0
update chainid files
Apr 20, 2023
a9f0b5f
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Apr 21, 2023
40d837e
Merge branch 'ethereum-optimism:develop' into develop
Apr 21, 2023
9d8b8c5
Merge branch 'ethereum-optimism:develop' into develop
Apr 22, 2023
c2461ea
add secrets manager
AbdulmalikGiwa Apr 24, 2023
b531134
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Apr 24, 2023
954c36f
Merge branch 'ethereum-optimism:develop' into develop
Apr 25, 2023
59a86e6
fix conflicts
AbdulmalikGiwa Apr 27, 2023
773f116
fix conflicts
AbdulmalikGiwa Apr 28, 2023
79c88a8
Merge branch 'ethereum-optimism:develop' into develop
Apr 30, 2023
aee7ce4
Merge branch 'ethereum-optimism:develop' into develop
May 1, 2023
3688af1
update contracts and config
May 1, 2023
c50bd23
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 1, 2023
142eca1
dry run
May 2, 2023
e55502d
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 2, 2023
b5643e0
Merge branch 'ethereum-optimism:develop' into develop
May 2, 2023
d0dbcc3
update scripts
AbdulmalikGiwa May 2, 2023
1f8e84b
update .rollux dev folder
May 2, 2023
d343184
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 2, 2023
fd72859
Merge branch 'ethereum-optimism:develop' into develop
May 2, 2023
1a83623
Merge branch 'ethereum-optimism:develop' into develop
May 3, 2023
6c6acb6
update scripts to manage dev run
AbdulmalikGiwa May 3, 2023
df0019c
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 4, 2023
6f307db
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 4, 2023
6771fc5
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 4, 2023
d11f164
Update GlobalConstants.sol
May 4, 2023
0954cc4
Merge branch 'ethereum-optimism:develop' into develop
May 4, 2023
489e9ae
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 4, 2023
30e1302
Merge branch 'ethereum-optimism:develop' into develop
May 5, 2023
6101492
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 5, 2023
2d78199
fix bridge address to l2 erc721 factor
May 5, 2023
c8a9e73
allow unprotected txs default
AbdulmalikGiwa May 5, 2023
4b42730
set the proxy address as the owner not the inbox address in config
May 5, 2023
1bef609
add mainnet companion networks
May 5, 2023
a6547a1
make PoDA URL configurable
May 5, 2023
70bb67f
Update PostSherlock.s.sol
May 6, 2023
99d2c1f
Merge branch 'ethereum-optimism:develop' into develop
May 6, 2023
ac79b4d
Merge branch 'ethereum-optimism:develop' into develop
May 7, 2023
15303dd
fix append 00 bug in poda
May 8, 2023
bbbb623
update scripts
May 8, 2023
9dd4fff
Merge branch 'ethereum-optimism:develop' into develop
May 8, 2023
777dee2
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 8, 2023
b4e27bd
add bootnodes to cmd line to l1
May 9, 2023
adaa2f3
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 9, 2023
97a92b0
use remote endpoints to talk to l1
May 9, 2023
ffe333f
Merge branch 'ethereum-optimism:develop' into develop
May 9, 2023
b68334d
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 9, 2023
2bed775
add getblob methods
AbdulmalikGiwa May 9, 2023
220737a
fix compile
May 9, 2023
0cf3075
always import descriptor
May 9, 2023
9a326cd
rescan blockchain if balance is 0 starting from configurable rescanst…
May 9, 2023
bbe6fb7
Update syscoinclient.go
May 9, 2023
ec3e64f
push new dry run deployment
May 10, 2023
16c6bb3
Merge branch 'ethereum-optimism:develop' into develop
May 10, 2023
5e4498f
Merge branch 'ethereum-optimism:develop' into develop
May 10, 2023
25566ee
Merge branch 'ethereum-optimism:develop' into develop
May 11, 2023
41bddb9
rm manage secrets
May 11, 2023
1c246ac
Update syscoinclient.go
May 11, 2023
8f48db5
Revert "Update syscoinclient.go"
May 11, 2023
0b94b2e
rework l1 wallet strategy
May 11, 2023
477fe12
Update rollux-up.sh
May 11, 2023
45665d3
Update syscoinclient.go
May 11, 2023
a7368a1
Merge branch 'ethereum-optimism:develop' into develop
May 11, 2023
8d43f65
always get the first address per label and create label if not exist
May 11, 2023
30bde81
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 11, 2023
6e36a34
Update syscoinclient.go
May 11, 2023
ab3cb90
Update docker-compose-rollux.yml
May 12, 2023
1f64a9b
update deploy on l2 dryrun
May 12, 2023
8e01e1f
Update docker-compose.yml
May 12, 2023
72a1480
update poda urls
May 12, 2023
97ef9a8
Merge branch 'ethereum-optimism:develop' into develop
May 12, 2023
6e328f6
Merge branch 'ethereum-optimism:develop' into develop
May 12, 2023
a8d6928
Merge branch 'ethereum-optimism:develop' into develop
May 14, 2023
6b16d0b
Merge remote-tracking branch 'upstream/develop' into develop
AbdulmalikGiwa May 15, 2023
bda1a53
Merge branch 'develop' of github.com:sidhujag/optimism into develop
AbdulmalikGiwa May 15, 2023
e0593b5
remove unnecessary files
AbdulmalikGiwa May 15, 2023
5928dcf
add sys poda url for p2p
AbdulmalikGiwa May 15, 2023
b4e1162
Merge branch 'ethereum-optimism:develop' into develop
May 15, 2023
9970f84
remove poda url in p2p
AbdulmalikGiwa May 15, 2023
72337f2
Merge branch 'develop' of github.com:sidhujag/optimism into develop
AbdulmalikGiwa May 15, 2023
aecd142
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 15, 2023
9061f91
add poda url in p2p
AbdulmalikGiwa May 15, 2023
958e929
Merge branch 'develop' of github.com:sidhujag/optimism into develop
AbdulmalikGiwa May 15, 2023
d63d665
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 15, 2023
838a6b8
Merge branch 'ethereum-optimism:develop' into develop
May 15, 2023
a7f67e1
update upgrade scripts
May 16, 2023
80b9c26
update json
May 17, 2023
332cb86
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 17, 2023
6014665
Merge branch 'ethereum-optimism:develop' into develop
May 17, 2023
1a93489
Merge branch 'ethereum-optimism:develop' into develop
May 18, 2023
b020523
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 18, 2023
1a9cb68
Merge branch 'ethereum-optimism:develop' into develop
May 18, 2023
90e66c0
Merge branch 'ethereum-optimism:develop' into develop
May 19, 2023
dff3970
update grafana image
AbdulmalikGiwa May 19, 2023
32c7485
add contract monitor to mainnet
AbdulmalikGiwa May 19, 2023
2ca9141
Merge branch 'ethereum-optimism:develop' into develop
May 20, 2023
6f94b34
Merge branch 'ethereum-optimism:develop' into develop
May 22, 2023
b6d0b10
Merge branch 'ethereum-optimism:develop' into develop
May 23, 2023
99371bc
Merge branch 'ethereum-optimism:develop' into develop
May 23, 2023
7133401
Update mainnet.json
May 23, 2023
23b14ca
Merge branch 'ethereum-optimism:develop' into develop
May 23, 2023
c5288e8
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 23, 2023
34d2ec0
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 24, 2023
8efecf0
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 24, 2023
17c89c9
Merge branch 'ethereum-optimism:develop' into develop
May 24, 2023
611886e
Merge branch 'ethereum-optimism:develop' into develop
May 26, 2023
48b7a1d
Merge branch 'ethereum-optimism:develop' into develop
May 26, 2023
406b1e1
Merge branch 'ethereum-optimism:develop' into develop
May 26, 2023
20698bf
Merge branch 'ethereum-optimism:develop' into develop
May 27, 2023
4267608
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 29, 2023
a2e76ed
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 29, 2023
bbd8133
Merge branch 'ethereum-optimism:develop' into develop
May 29, 2023
2436ed7
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 29, 2023
8e3d3d4
Update L1CrossDomainMessenger.json
May 30, 2023
1a2c364
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
May 30, 2023
938f549
fix merge
May 30, 2023
be89c5a
Update chains.go
May 30, 2023
d04db0f
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 30, 2023
d04feab
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 30, 2023
70cb547
Merge branch 'ethereum-optimism:develop' into develop
May 30, 2023
f610bca
Update PostSherlock.s.sol
May 30, 2023
fdebb3c
Update SafeBuilder.sol
May 30, 2023
0b0c54b
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 31, 2023
5447731
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa May 31, 2023
36cfb3b
Merge branch 'ethereum-optimism:develop' into develop
Jun 1, 2023
62988d5
Merge remote-tracking branch 'upstream/develop' into develop
AbdulmalikGiwa Jun 1, 2023
15da9c2
add address back manually
AbdulmalikGiwa Jun 1, 2023
7c4a81e
revert add address back manually
AbdulmalikGiwa Jun 1, 2023
eff3a6b
revert using sdk contrack addresses
AbdulmalikGiwa Jun 1, 2023
803200d
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 1, 2023
44b3d05
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 2, 2023
6de6849
enable layer 3 PoDA service through standard bridge and cross domain …
Jun 2, 2023
dffa65e
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
Jun 2, 2023
223d6df
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 2, 2023
df5ca39
update dryrun
Jun 2, 2023
db8c825
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 4, 2023
eb3bb2e
update precompile cost
Jun 5, 2023
a34db70
Merge branch 'ethereum-optimism:develop' into develop
Jun 5, 2023
972fd67
Merge branch 'ethereum-optimism:develop' into develop
Jun 5, 2023
eaad1f2
Merge branch 'ethereum-optimism:develop' into develop
Jun 5, 2023
b1088f0
Merge branch 'ethereum-optimism:develop' into develop
Jun 5, 2023
51b1a59
fix conflicts
AbdulmalikGiwa Jun 6, 2023
5f3dbfd
fix conflicts
AbdulmalikGiwa Jun 6, 2023
29724c5
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 6, 2023
7407e9d
update tanenbaum config
AbdulmalikGiwa Jun 6, 2023
4b5ab16
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 7, 2023
36fbff2
update deployment
Jun 7, 2023
14c1765
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
Jun 7, 2023
05d0e54
Update CheckForBedrockMigration.s.sol
Jun 7, 2023
10b9b34
Update PostSherlock.s.sol
Jun 7, 2023
0f9c6af
Merge branch 'ethereum-optimism:develop' into develop
Jun 7, 2023
47d0abb
Merge branch 'ethereum-optimism:develop' into develop
Jun 8, 2023
c4f67d1
update append sequencer
Jun 9, 2023
620bde6
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
Jun 9, 2023
4570ae3
new deployment - new batchinbox
Jun 9, 2023
4032f8c
Update 021-SystemDictatorSteps-2.ts
Jun 9, 2023
f5a2b6d
fix conflicts
AbdulmalikGiwa Jun 9, 2023
c3fbf18
fix imports
AbdulmalikGiwa Jun 9, 2023
d8daca7
log packed data
AbdulmalikGiwa Jun 9, 2023
4927fe2
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 9, 2023
689454d
use ABI to parse data from appendSequencerBatch function
Jun 9, 2023
eff0fc8
Merge branch 'develop' of https://github.com/sidhujag/optimism into d…
Jun 9, 2023
b7df643
update batch inbox logic to use array of VHs
Jun 10, 2023
dca6667
fix derivation of appended batches
Jun 10, 2023
3c62a45
fix batchData unpacking
Jun 10, 2023
8168cc3
Merge branch 'ethereum-optimism:develop' into develop
Jun 10, 2023
aea607d
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 12, 2023
25c1d39
update indexer with rollux address
AbdulmalikGiwa Jun 12, 2023
ab0d9dd
update dashboard config
AbdulmalikGiwa Jun 12, 2023
48bca40
Merge branch 'develop' of github.com:sidhujag/optimism into develop
AbdulmalikGiwa Jun 12, 2023
8ab24a2
add indexer config
AbdulmalikGiwa Jun 12, 2023
bf884d3
update indexer config
AbdulmalikGiwa Jun 12, 2023
4cf1025
update indexer config
AbdulmalikGiwa Jun 12, 2023
42d617b
Merge branch 'ethereum-optimism:develop' into develop
Jun 12, 2023
f37d23b
fix conflicts
AbdulmalikGiwa Jun 12, 2023
5d0a347
merge and fix conflicts
AbdulmalikGiwa Jun 12, 2023
9def7bc
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 13, 2023
5899962
add auto sync
AbdulmalikGiwa Jun 13, 2023
cc43a12
update auto sync
AbdulmalikGiwa Jun 13, 2023
0f61865
update schedule
AbdulmalikGiwa Jun 13, 2023
3f4b33a
update workflow name
AbdulmalikGiwa Jun 13, 2023
9abbb0e
add manual runs
AbdulmalikGiwa Jun 13, 2023
ded7d97
Merge remote-tracking branch 'upstream/develop' into develop
actions-user Jun 13, 2023
06bbee1
Merge branch 'develop' of https://github.com/SYS-Labs/rollux into dev…
Jun 13, 2023
45580fa
fix
AbdulmalikGiwa Jun 14, 2023
8cb8ae3
fix conflicts
AbdulmalikGiwa Jun 14, 2023
ce4043f
fix conflicts
AbdulmalikGiwa Jun 15, 2023
5d75ee5
Merge branch 'develop' of https://github.com/SYS-Labs/rollux into dev…
Jun 15, 2023
f27fb25
fix conflicts
AbdulmalikGiwa Jun 16, 2023
ee1a92a
update p2p docs
AbdulmalikGiwa Jun 16, 2023
e96cbe7
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 16, 2023
9b9b2e9
Merge branch 'develop' of https://github.com/SYS-Labs/rollux into dev…
Jun 19, 2023
b3251ec
update deployments according to upstream
Jun 19, 2023
88184ba
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 19, 2023
9476558
remove legacy op deployment stuff
Jun 19, 2023
f3094c5
Merge branch 'develop' of https://github.com/SYS-Labs/rollux into dev…
Jun 19, 2023
9024126
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 19, 2023
6c5aecf
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 20, 2023
ac01760
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 20, 2023
b5c076f
p2p fix
AbdulmalikGiwa Jun 20, 2023
8afc1d2
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 20, 2023
0c9e233
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 20, 2023
bd8bec4
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 21, 2023
2e346b5
fix workflow
AbdulmalikGiwa Jun 21, 2023
97fc8f2
Merge branch 'ethereum-optimism:develop' into develop
Jun 21, 2023
0719abe
update bindings and starting block
Jun 21, 2023
f667446
Merge branch 'ethereum-optimism:develop' into develop
Jun 21, 2023
f00eec1
update deployment for mainnet
Jun 22, 2023
4361120
update for mainnet
Jun 22, 2023
6321370
resolve
AbdulmalikGiwa Jun 22, 2023
fbef70e
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 22, 2023
f830e90
fix bug
AbdulmalikGiwa Jun 22, 2023
bf5adf5
Merge branch 'develop' of github.com:SYS-Labs/rollux into develop
AbdulmalikGiwa Jun 22, 2023
79bd33a
Merge branch 'ethereum-optimism:develop' into develop
Jun 22, 2023
a7581d5
Update check-l2.ts
Jun 22, 2023
92df0ca
rollux deployed
Jun 22, 2023
3121492
Create .chainId
Jun 22, 2023
45b9e4b
periphery deployed to rollux
Jun 22, 2023
a25d8a6
Merge branch 'develop' of https://github.com/SYS-Labs/rollux into dev…
Jun 22, 2023
5163169
use sourcify to verify contracts
Jun 22, 2023
76fb583
Merge branch 'ethereum-optimism:develop' into develop
Jun 22, 2023
1f98256
Merge branch 'develop' of https://github.com/SYS-Labs/rollux into dev…
Jun 22, 2023
02e1a34
Merge branch 'ethereum-optimism:develop' into develop
Jun 23, 2023
472a758
Merge branch 'ethereum-optimism:develop' into develop
AbdulmalikGiwa Jun 23, 2023
b1c8106
Merge branch 'develop' of https://github.com/SYS-Labs/rollux into dev…
Jun 23, 2023
fd90a13
doc refactor
bstr156 Jun 23, 2023
d5a1f62
doc refactor
bstr156 Jun 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file added .devnet/done
Empty file.
15,320 changes: 15,320 additions & 0 deletions .devnet/genesis-l2.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions .devnet/rollup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"genesis": {
"l1": {
"hash": "0xbaaa9a7834d9b5e928eeb36942b96eb64167701e16b9da02a7a5f3aa9c0a216c",
"number": 247425
},
"l2": {
"hash": "0x045514aee1f089c5acd01ee15995e39a406e92586495bfa4429aa93b9f6f1067",
"number": 0
},
"l2_time": 1678830392,
"system_config": {
"batcherAddr": "0x00d97b2a26cb85252998fe7b4bd4ec2118bf6b6e",
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000834",
"scalar": "0x00000000000000000000000000000000000000000000000000000000000f4240",
"gasLimit": 25000000
}
},
"block_time": 2,
"max_sequencer_drift": 1500,
"seq_window_size": 288,
"channel_timeout": 24,
"l1_chain_id": 5700,
"l2_chain_id": 57000,
"regolith_time": 0,
"batch_inbox_address": "0x678255ae6b5c4ba0e6206a8e70b59b874f20bc9c",
"output_oracle_address": "0x63d297aa3fecbf6eede0acd15b0308b9c8379afb",
"deposit_contract_address": "0x61200b9fcbb421afd0bb5a732fe48ec98482e39c",
"l1_system_config_address": "0xd8daedc48ca71e20feb81cc3e51c9e3a89a3c84b"
}
31 changes: 31 additions & 0 deletions .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Sync Fork

on:
schedule:
- cron: '*/30 * * * *'
workflow_dispatch: # on button click

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Configure Git
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "[email protected]"

- name: Merge upstream
run: |
git remote add upstream https://github.com/ethereum-optimism/optimism.git
git fetch upstream develop
git checkout develop
git merge upstream/develop
git push origin develop


3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ packages/contracts-bedrock/deployments/anvil
!.env.example
*.log

.devnet

# Ignore local fuzzing results
**/testdata/fuzz/
Expand All @@ -52,3 +51,5 @@ __pycache__

# Ignore echidna artifacts
crytic-export

temp/*
Empty file added .rollux/done
Empty file.
14,474 changes: 14,474 additions & 0 deletions .rollux/genesis-l2.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions .rollux/rollup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"genesis": {
"l1": {
"hash": "0x47ac31005a8c86e4fc6bdbbf4b74ebe578bd8660b3ce44ea2e04f362a5918ca8",
"number": 319398
},
"l2": {
"hash": "0xc6b3cc4a21e79da5a3ff4981e73403be68ad93dce5c52401c7172cd8e33af6a0",
"number": 0
},
"l2_time": 1687365241,
"system_config": {
"batcherAddr": "0x00d97b2a26cb85252998fe7b4bd4ec2118bf6b6e",
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
"scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
"gasLimit": 30000000
}
},
"block_time": 2,
"max_sequencer_drift": 1500,
"seq_window_size": 288,
"channel_timeout": 24,
"l1_chain_id": 57,
"l2_chain_id": 570,
"regolith_time": 0,
"batch_inbox_address": "0x9a79018d3a5df42d32b790c0093702d4ba87984d",
"output_oracle_address": "0xb8ffe6015e1c00cfa620f884f25f21f001744c0e",
"deposit_contract_address": "0xfe43b2c8a481c412481bc5a36261380edc417266",
"l1_system_config_address": "0xcb691bd46540997e98051f3b3a7fb61034007d17"
}
36 changes: 33 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,43 @@ devnet-down:
@(cd ./ops-bedrock && GENESIS_TIMESTAMP=$(shell date +%s) docker-compose stop)
.PHONY: devnet-down

devnet-clean:
rm -rf ./packages/contracts-bedrock/deployments/devnetL1
tanenbaum-up:
@bash ./ops-bedrock/tanenbaum-up.sh
.PHONY: tanenbaum-up

p2p-tanenbaum-up:
@bash ./ops-bedrock/p2p-tanenbaum-up.sh
.PHONY: p2p-tanenbaum-up

tanenbaum-down:
@(cd ./ops-bedrock && GENESIS_TIMESTAMP=$(shell date +%s) docker-compose stop)
.PHONY: tanenbaum-down

tanenbaum-clean:
rm -rf ./.devnet
cd ./ops-bedrock && docker-compose down
docker image ls 'ops-bedrock*' --format='{{.Repository}}' | xargs -r docker rmi
docker volume ls --filter name=ops-bedrock --format='{{.Name}}' | xargs -r docker volume rm
.PHONY: tanenbaum-clean

rollux-up:
@bash ./ops-bedrock/rollux-up.sh
.PHONY: rollux-up

p2p-rollux-up:
@bash ./ops-bedrock/p2p-rollux-up.sh
.PHONY: p2p-rollux-up

rollux-down:
@(cd ./ops-bedrock && GENESIS_TIMESTAMP=$(shell date +%s) docker-compose stop)
.PHONY: rollux-down

rollux-clean:
rm -rf ./.devnet
cd ./ops-bedrock && docker-compose down
docker image ls 'ops-bedrock*' --format='{{.Repository}}' | xargs -r docker rmi
docker volume ls --filter name=ops-bedrock --format='{{.Name}}' | xargs -r docker volume rm
.PHONY: devnet-clean
.PHONY: rollux-clean

devnet-logs:
@(cd ./ops-bedrock && docker-compose logs -f)
Expand Down
62 changes: 33 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,66 @@
<div align="center">
<br />
<br />
<a href="https://optimism.io"><img alt="Optimism" src="https://raw.githubusercontent.com/ethereum-optimism/brand-kit/main/assets/svg/OPTIMISM-R.svg" width=600></a>
<a href="https://rollux.com"><img alt="Rollux" src="https://raw.githubusercontent.com/SYS-Labs/brand-kits/main/rollux/SVG/rollux_logo.svg" width=300></a>
<br />
<h3><a href="https://optimism.io">Optimism</a> is Ethereum, scaled.</h3>
<h3><a href="https://rollux.com">Rollux.com</a></h3>
<br />
</div>

## What is Optimism?
## What is Rollux?

[Optimism](https://www.optimism.io/) is a project dedicated to scaling Ethereum's technology and expanding its ability to coordinate people from across the world to build effective decentralized economies and governance systems. The [Optimism Collective](https://app.optimism.io/announcement) builds open-source software for running L2 blockchains and aims to address key governance and economic challenges in the wider cryptocurrency ecosystem. Optimism operates on the principle of **impact=profit**, the idea that individuals who positively impact the Collective should be proportionally rewarded with profit. **Change the incentives and you change the world.**
[Rollux](https://rollux.com), built by [SYS Labs](https://syslabs.com), is a project dedicated to scaling blockchain technology and expanding its ability to coordinate people from across the world to build effective decentralized economies and governance systems. More specifically, Rollux is the EVM-equivalent Layer 2 optimistic rollup that introduces some key scaling technologies and security characteristics to Optimism's [OP Stack](https://stack.optimism.io). Built on [Syscoin's](https://syscoin.org) holistically modular Layer 1, Rollux inherits the security of Bitcoin’s mining network through merged-mining, combined with decentralized multi-quorum finality. Rollux fully factors Syscoin's efficient data availability (Proof of Data Availability - PoDA) and data fee market rather than relying on EVM calldata or danksharding. Rollux is secure, scalable, and offers very low fees. Additionally, Rollux provides native Layer 2 data availability which makes it ideal for supporting Layer 3 and fractal scaling.

In this repository, you'll find numerous core components of the OP Stack, the decentralized software stack maintained by the Optimism Collective that powers Optimism and forms the backbone of blockchains like [OP Mainnet](https://explorer.optimism.io/) and [Base](https://base.org). Designed to be "aggressively open source," the OP Stack encourages you to explore, modify, extend, and test the code as needed. Although not all elements of the OP Stack are contained here, many of its essential components can be found within this repository. By collaborating on free, open software and shared standards, the Optimism Collective aims to prevent siloed software development and rapidly accelerate the development of the Ethereum ecosystem. Come contribute, build the future, and redefine power, together.
In all, Rollux is a unique and powerful alternative to other rollup-based stacks and blockchain scaling technologies in general.

In this repository, you'll find numerous core components of Rollux, the decentralized software stack maintained by SYS Labs, and much of the upstream [OP Stack](https://stack.optimism.io) which is maintained by the Optimism Collective. We encourage you to explore, modify, extend, and test the code as needed. By collaborating on free, open software and shared standards, SYS Labs, Syscoin Foundation and the Optimism Collective aim to prevent siloed software development and rapidly accelerate the development of blockchain ecosystems. Come contribute, build the future, and redefine power, together.

**NOTE: It is important to understand that this repository became public relatively recently. As such, some READMEs might be incomplete. We appreciate your patience while we work quickly to expand technical information about Rollux and refactor existing content! Should you have questions about this repo, feel free to chat with the Rollux community at the links below!**

## Documentation

- If you want to build on top of OP Mainnet, refer to the [Optimism Community Hub](https://community.optimism.io)
- If you want to build on top of Rollux Mainnet, refer to the [Rollux Developers Docs](https://rollux.com/developers)
- If you want to contribute to Rollux, check out the [Protocol Specs](./specs)
- If you want to build your own OP Stack based blockchain, refer to the [OP Stack docs](https://stack.optimism.io)
- If you want to contribute to the OP Stack, check out the [Protocol Specs](./specs)

## Community

General discussion happens most frequently on the [Optimism discord](https://discord.gg/optimism).
Governance discussion can also be found on the [Optimism Governance Forum](https://gov.optimism.io/).
General dev discussion happens most frequently on the [Rollux discord](https://discord.gg/rollux) in the `#🔨│builder-general` channel.
<!--- Governance discussion can also be found on the [Optimism Governance Forum](https://gov.optimism.io/). --->

## Contributing

Read through [CONTRIBUTING.md](./CONTRIBUTING.md) for a general overview of the contributing process for this repository.
Use the [Developer Quick Start](./CONTRIBUTING.md#development-quick-start) to get your development environment set up to start working on the Optimism Monorepo.
Then check out the list of [Good First Issues](https://github.com/ethereum-optimism/optimism/contribute) to find something fun to work on!
Use the [Developer Quick Start](./CONTRIBUTING.md#development-quick-start) to get your development environment set up to start working on the Rollux Monorepo.
Then check out the list of [Good First Issues](https://github.com/sys-labs/rollux/contribute) to find something fun to work on!

## Security Policy and Vulnerability Reporting

Please refer to the canonical [Security Policy](https://github.com/ethereum-optimism/.github/blob/master/SECURITY.md) document for detailed information about how to report vulnerabilities in this codebase.
If you are reporting any vulnerabilites exclusive to the Rollux codebase, you should follow the common sense "How to" guidelines echoed in Optimism's canonical [Security Policy](https://github.com/ethereum-optimism/.github/blob/master/SECURITY.md).
Bounty hunters are encouraged to check out [the Optimism Immunefi bug bounty program](https://immunefi.com/bounty/optimism/).
The Optimism Immunefi program offers up to $2,000,042 for in-scope critical vulnerabilities.
While this does not apply to any Rollux-specific discoveries, the Optimism Immunefi program offers up to $2,000,042 for in-scope critical vulnerabilities in the Optimism codebase.
For vulnerabilities in any Rollux or SYS Labs websites, email servers or other non-critical infrastructure, please email SYS Labs at [email protected]. We appreciate detailed instructions for confirming the vulnerability.

## The Bedrock Upgrade

OP Mainnet is currently preparing for [its next major upgrade, Bedrock](https://dev.optimism.io/introducing-optimism-bedrock/).
You can find detailed specifications for the Bedrock upgrade within the [specs folder](./specs) in this repository.

Please note that a significant number of packages and folders within this repository are part of the Bedrock upgrade and are NOT currently running in production.
Refer to the Directory Structure section below to understand which packages are currently running in production and which are intended for use as part of the Bedrock upgrade.
## Bedrock-based

Rollux is based upon Optimism Bedrock!
You can find detailed specifications for the Bedrock upgrade within the [specs folder](./specs) in this repository.

## Directory Structure

<pre>
~~ Production ~~
├── <a href="./packages">packages</a>
│ ├── <a href="./packages/common-ts">common-ts</a>: Common tools for building apps in TypeScript
│ ├── <a href="./packages/contracts-bedrock">contracts-bedrock</a>: Bedrock smart contracts.
│ ├── <a href="./packages/contracts-periphery">contracts-periphery</a>: Peripheral contracts for Optimism
│ ├── <a href="./packages/contracts-bedrock">contracts-bedrock</a>: Rollux Bedrock smart contracts.
│ ├── <a href="./packages/contracts-periphery">contracts-periphery</a>: Peripheral contracts for Rollux
│ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Optimism easier
│ ├── <a href="./packages/chain-mon">chain-mon</a>: Chain monitoring services
│ ├── <a href="./packages/fault-detector">fault-detector</a>: Service for detecting Sequencer faults
│ ├── <a href="./packages/replica-healthcheck">replica-healthcheck</a>: Service for monitoring the health of a replica node
│ └── <a href="./packages/sdk">sdk</a>: provides a set of tools for interacting with Optimism
│ └── <a href="./packages/sdk">sdk</a>: provides a set of tools for interacting with Rollux
├── <a href="./op-bindings">op-bindings</a>: Go bindings for Bedrock smart contracts.
├── <a href="./op-batcher">op-batcher</a>: L2-Batch Submitter, submits bundles of batches to L1
├── <a href="./op-bootnode">op-bootnode</a>: Standalone op-node discovery bootnode
Expand All @@ -79,14 +83,14 @@ Refer to the Directory Structure section below to understand which packages are
~~ Pre-BEDROCK ~~
├── <a href="./packages">packages</a>
│ ├── <a href="./packages/common-ts">common-ts</a>: Common tools for building apps in TypeScript
│ ├── <a href="./packages/contracts-periphery">contracts-periphery</a>: Peripheral contracts for Optimism
│ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Optimism easier
│ ├── <a href="./packages/contracts-periphery">contracts-periphery</a>: Peripheral contracts for Rollux
│ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Rollux easier
│ ├── <a href="./packages/chain-mon">chain-mon</a>: Chain monitoring services
│ ├── <a href="./packages/fault-detector">fault-detector</a>: Service for detecting Sequencer faults
│ ├── <a href="./packages/replica-healthcheck">replica-healthcheck</a>: Service for monitoring the health of a replica node
│ └── <a href="./packages/sdk">sdk</a>: provides a set of tools for interacting with Optimism
├── <a href="./indexer">indexer</a>: indexes and syncs transactions
├── <a href="./op-exporter">op-exporter</a>: A prometheus exporter to collect/serve metrics from an Optimism node
├── <a href="./op-exporter">op-exporter</a>: A prometheus exporter to collect/serve metrics from a Rollux node
├── <a href="./proxyd">proxyd</a>: Configurable RPC request router and proxy
└── <a href="./technical-documents">technical-documents</a>: audits and post-mortem documents
</pre>
Expand All @@ -97,8 +101,8 @@ Refer to the Directory Structure section below to understand which packages are

| Branch | Status |
| --------------- | -------------------------------------------------------------------------------- |
| [master](https://github.com/ethereum-optimism/optimism/tree/master/) | Accepts PRs from `develop` when intending to deploy to production. |
| [develop](https://github.com/ethereum-optimism/optimism/tree/develop/) | Accepts PRs that are compatible with `master` OR from `release/X.X.X` branches. |
| [master](https://github.com/sys-labs/rollux/tree/master/) | Accepts PRs from `develop` when intending to deploy to production. |
| [develop](https://github.com/sys-labs/rollux/tree/develop/) | Accepts PRs that are compatible with `master` OR from `release/X.X.X` branches. |
| release/X.X.X | Accepts PRs for all changes, particularly those not backwards compatible with `develop` and `master`. |

### Overview
Expand All @@ -114,8 +118,8 @@ Updates from `master` **always** come from the `develop` branch.

### Development branch

The primary development branch is [`develop`](https://github.com/ethereum-optimism/optimism/tree/develop/).
`develop` contains the most up-to-date software that remains backwards compatible with the latest experimental [network deployments](https://community.optimism.io/docs/useful-tools/networks/).
The primary development branch is [`develop`](https://github.com/sys-labs/rollux/tree/develop/).
`develop` contains the most up-to-date software that remains backwards compatible with the latest testnet [network deployments](https://rollux.com/developers/docs/useful-tools/networks/).
If you're making a backwards compatible change, please direct your pull request towards `develop`.

**Changes to contracts within `packages/contracts-bedrock/contracts` are usually NOT considered backwards compatible and SHOULD be made against a release candidate branch**.
Expand Down Expand Up @@ -159,4 +163,4 @@ It's strongly recommended to avoid merging PRs into develop during an active rel

## License

All other files within this repository are licensed under the [MIT License](https://github.com/ethereum-optimism/optimism/blob/master/LICENSE) unless stated otherwise.
All other files within this repository are licensed under the [MIT License](https://github.com/sys-labs/rollux/blob/master/LICENSE) unless stated otherwise.
2 changes: 1 addition & 1 deletion endpoint-monitor/endpoint_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func Main(version string) func(cliCtx *cli.Context) error {

l.Info("starting metrics server", "addr", metricsCfg.ListenAddr, "port", metricsCfg.ListenPort)
if err := opmetrics.ListenAndServe(ctx, registry, metricsCfg.ListenAddr, metricsCfg.ListenPort); err != nil {
l.Error("error starting metrics server", err)
l.Error("error starting metrics server", "err", err)
return err
}

Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ require (
github.com/pkg/profile v1.7.0
github.com/prometheus/client_golang v1.14.0
github.com/stretchr/testify v1.8.1
github.com/urfave/cli v1.22.2
github.com/urfave/cli/v2 v2.25.7
golang.org/x/crypto v0.6.0
golang.org/x/exp v0.0.0-20230213192124-5e25df0256eb
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVM
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0=
github.com/urfave/cli v1.22.2 h1:gsqYFH8bb9ekPA12kRo0hfjngWQjkJPlN9R0N78BoUo=
github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli/v2 v2.25.7 h1:VAzn5oq403l5pHjc4OhD54+XGO9cdKVL/7lDjF+iKUs=
github.com/urfave/cli/v2 v2.25.7/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6SinrnYQ=
Expand Down
Loading