Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - Protodanksharding #1930

Closed
wants to merge 194 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
2a161dc
stashing
badgersrus May 22, 2024
1297fc0
regenerate mgmt contracts
badgersrus May 22, 2024
b33082c
stashing
badgersrus May 22, 2024
de4f443
fix blob serialization
badgersrus May 22, 2024
e56c531
stashing decoding
badgersrus May 22, 2024
25ebebf
merging
badgersrus May 23, 2024
ff5ec9f
fix merge
badgersrus May 23, 2024
b40af46
add switch to retry logic
badgersrus May 31, 2024
0f8a812
stashing for the weekend - rlp issue
badgersrus May 31, 2024
33c5c55
merge
badgersrus May 31, 2024
ee39410
stashing
badgersrus Jun 4, 2024
2e1397b
checkpoint before embarking on the geth upgrade & beacon chain
badgersrus Jun 4, 2024
ae1d639
remove unwanted files
badgersrus Jun 4, 2024
8b7b07e
checkpoint
badgersrus Jun 5, 2024
6ed3b57
Merge branch 'main' of https://github.com/ten-protocol/go-ten into wi…
badgersrus Jun 5, 2024
e9ef5c0
mining config working
badgersrus Jun 5, 2024
58487d3
stashing prysm 5.0.0 attempt
badgersrus Jun 12, 2024
8c2e861
remove docker pos
badgersrus Jun 12, 2024
9ac304e
stashing withdrawal hash error
badgersrus Jun 13, 2024
5df0b66
remove decodessz file
badgersrus Jun 13, 2024
cc3fdf7
add cancun signer
badgersrus Jun 13, 2024
44e9f35
fixed withdrawal hash issue
badgersrus Jun 14, 2024
93744b1
stashing
badgersrus Jun 24, 2024
f11978a
delete old geth gen config
badgersrus Jun 24, 2024
597f2c1
blah
badgersrus Jun 24, 2024
bddaa80
update start beacon params - NEW ERROR UNLOCKED
badgersrus Jun 25, 2024
9eef43a
stashing
badgersrus Jun 27, 2024
b4a218b
merging latest
badgersrus Jun 27, 2024
815e8fa
stashing
badgersrus Jul 1, 2024
635ae66
new error unlocked
badgersrus Jul 2, 2024
04ff2d9
stashing before I lose my mind
badgersrus Jul 2, 2024
2be235e
set execution endpoint with geth.ipc
badgersrus Jul 3, 2024
fc3298e
tidy up
badgersrus Jul 3, 2024
794164f
stashing
badgersrus Jul 3, 2024
c489974
stashing
badgersrus Jul 4, 2024
9ee0b71
stashing
badgersrus Jul 4, 2024
cd10cd3
trying a script version instead
badgersrus Jul 5, 2024
e0f65fd
stashing
badgersrus Jul 8, 2024
b1a27bb
dumping
badgersrus Jul 8, 2024
8ecdfc6
delete build contents
badgersrus Jul 8, 2024
c838582
script complete ... still [Cdoesn't work though
badgersrus Jul 9, 2024
ce367a2
stashing init-geth script & start-network script. geth Forkchoice req…
badgersrus Jul 9, 2024
782e39d
script working but timeout needs to be 10 minutes
badgersrus Jul 10, 2024
1a49fd6
stashing before I start messing around with ports
badgersrus Jul 10, 2024
9da3d92
tx minted test passing
badgersrus Jul 10, 2024
41da44a
Merge branch 'main' into will/upgrade-geth
badgersrus Jul 10, 2024
7d42308
update tests
badgersrus Jul 11, 2024
5c1b644
Merge branch 'will/upgrade-geth' of https://github.com/ten-protocol/g…
badgersrus Jul 11, 2024
471a715
missed files on commit
badgersrus Jul 11, 2024
944e0cb
lint
badgersrus Jul 11, 2024
f4f27b7
lint
badgersrus Jul 11, 2024
05742da
compile fix
badgersrus Jul 11, 2024
e0c2aca
lint;
badgersrus Jul 11, 2024
9dbeb5c
stashing at working pos network test
badgersrus Jul 11, 2024
b0c4d7f
fix script
badgersrus Jul 11, 2024
5c3b859
remove intermediate file
badgersrus Jul 11, 2024
bfa061a
add chainID to cli
badgersrus Jul 12, 2024
faf370d
add wait
badgersrus Jul 12, 2024
33de61d
add sleep to code for gh actions
badgersrus Jul 12, 2024
10ae46e
add new timeout
badgersrus Jul 12, 2024
aa057b3
set block number
badgersrus Jul 12, 2024
51cb790
update pr build
badgersrus Jul 12, 2024
f3c1abb
close UDP ports
badgersrus Jul 12, 2024
5075359
close UDP ports
badgersrus Jul 12, 2024
958b05a
add new sleep
badgersrus Jul 15, 2024
d15854d
move gethdata out of timestamped build path due to character limit
badgersrus Jul 15, 2024
1327e7d
remove crud
badgersrus Jul 15, 2024
f5a07dc
shorten build path
badgersrus Jul 15, 2024
146413a
see if this works
badgersrus Jul 15, 2024
f9b7cc6
lint
badgersrus Jul 15, 2024
cd4acf9
remove geth.ipc before uploading
badgersrus Jul 15, 2024
98934e5
clean up gethdata dir
badgersrus Jul 15, 2024
c7d2249
remove cleanup
badgersrus Jul 15, 2024
fea9d9c
upload only log files
badgersrus Jul 16, 2024
7220dc6
filter out .ipc from upload
badgersrus Jul 16, 2024
5fbb101
fix filtering
badgersrus Jul 16, 2024
01fcd09
homogenise chainID
badgersrus Jul 16, 2024
9da31cd
fix build path counter thing
badgersrus Jul 16, 2024
f475dfa
add sleep after kill process
badgersrus Jul 16, 2024
4e46a1f
make sure proccesses are killed before starting next one
badgersrus Jul 16, 2024
e426224
kill processes from script by process name instead of PID
badgersrus Jul 16, 2024
5cca098
fix kill script
badgersrus Jul 16, 2024
b57775c
ugh
badgersrus Jul 16, 2024
0d777be
define process and kill it
badgersrus Jul 16, 2024
1a44026
its a mess, lets see how it plays out cotton
badgersrus Jul 16, 2024
6494083
add chain ID to prysm config
badgersrus Jul 16, 2024
f575882
signing out
badgersrus Jul 16, 2024
735bef9
stashing
badgersrus Jul 19, 2024
b094c93
capture PIDS and kill processes - need to add network start ports
badgersrus Jul 19, 2024
d7aa1cd
add port offsets for tcp & udp
badgersrus Jul 22, 2024
c9e06e9
remove bind address crap
badgersrus Jul 22, 2024
dbd59f9
add auth port
badgersrus Jul 22, 2024
2c6011d
lint:
badgersrus Jul 22, 2024
6fda7fb
fix gateway test
badgersrus Jul 23, 2024
1b9ea1b
increase wait delay on bridge xfers
badgersrus Jul 23, 2024
3c32db5
increase timeouts
badgersrus Jul 23, 2024
da3f603
increase timeouts
badgersrus Jul 23, 2024
8fa9456
add longer timeout
badgersrus Jul 23, 2024
05a865c
increase sim timeout and add logging
badgersrus Jul 23, 2024
675dda7
increase enclave client timeout ... que?
badgersrus Jul 23, 2024
aa3cfd0
increase build PR timeout
badgersrus Jul 23, 2024
a08212b
remove unnessecary timeouts, bump pr timeout for full network test
badgersrus Jul 23, 2024
66da4cf
10min timeout
badgersrus Jul 23, 2024
01159fd
improve port killing on close
badgersrus Jul 24, 2024
0a8c7b8
stashing before changing build number
badgersrus Jul 24, 2024
b23aed2
clean up
badgersrus Jul 24, 2024
2a76c77
Merge branch 'main' of https://github.com/ten-protocol/go-ten into wi…
badgersrus Jul 24, 2024
ecc54df
bail on enclave config refactor
badgersrus Jul 24, 2024
19058c0
increase build limit and add overwrite logic
badgersrus Jul 24, 2024
f105827
remove unwanted file
badgersrus Jul 24, 2024
6eb6ffa
resolve conflicts
badgersrus Jul 24, 2024
7238659
Merge branch 'will/upgrade-geth' into will/proto-danksharding
badgersrus Jul 24, 2024
cc6c61f
stashing to run tests
badgersrus Jul 24, 2024
9d6c1a4
stashing
badgersrus Jul 25, 2024
e5c4822
docker host config
badgersrus Jul 25, 2024
4f7e98b
change ports back
badgersrus Jul 25, 2024
ff5bb08
add virtual hosts and cors to geth
badgersrus Jul 25, 2024
efb08bb
lint
badgersrus Jul 25, 2024
5d5d9f0
fix geth port
badgersrus Jul 26, 2024
9c06990
Merge branch 'main' of https://github.com/ten-protocol/go-ten into wi…
badgersrus Jul 29, 2024
ddf13a0
fix tengateway test
badgersrus Jul 29, 2024
ff52e8f
add legeacy peer deps to hh build
badgersrus Jul 30, 2024
f016a3a
try adding --force
badgersrus Jul 30, 2024
e9bb537
remove old name
badgersrus Jul 30, 2024
ac30842
remove force install on hhdeployer
badgersrus Jul 30, 2024
402ef86
merge in stefans fix
badgersrus Jul 31, 2024
3ddd6bd
fix conflicts
badgersrus Jul 31, 2024
50a6f61
Merge branch 'will/upgrade-geth' into will/proto-danksharding
badgersrus Jul 31, 2024
e1e127b
bump retry to 100% as enforced by geth
badgersrus Aug 2, 2024
bae1441
stashing beacon client API
badgersrus Aug 5, 2024
7834096
unit test for beacon client
badgersrus Aug 6, 2024
7c62bad
stashing before big refactor
badgersrus Aug 6, 2024
b009ea1
stashing fixed genesis api call
badgersrus Aug 6, 2024
05d84f5
merge latest
badgersrus Aug 7, 2024
5b45ed0
fixed beacon API calls
badgersrus Aug 7, 2024
b132793
stashing before merge
badgersrus Aug 8, 2024
4cd742f
stashing before merge
badgersrus Aug 8, 2024
1b82030
new encoding/ decoding method
badgersrus Aug 8, 2024
35fa041
rollup decoding fixed
badgersrus Aug 9, 2024
db23304
stashing
badgersrus Aug 9, 2024
b3de727
logging for comparison
badgersrus Aug 9, 2024
86f4c83
del
badgersrus Aug 9, 2024
db5eaa4
use new L1RollupHashes
badgersrus Aug 12, 2024
b91c82a
Merge branch 'main' of https://github.com/ten-protocol/go-ten into wi…
badgersrus Aug 14, 2024
10b4673
logging
badgersrus Aug 14, 2024
236afda
todo - fix duplicate rollups in validate chain map
badgersrus Aug 14, 2024
f3bad53
stashing
badgersrus Aug 19, 2024
7e53432
stashing logging
badgersrus Aug 20, 2024
36e4815
remove crud
badgersrus Aug 20, 2024
ae801e1
stashing failed rewrite
badgersrus Aug 20, 2024
484278a
Merge branch 'main' of https://github.com/ten-protocol/go-ten into HEAD
badgersrus Aug 22, 2024
402d3be
merging latest from main - nodes not healthy|
badgersrus Aug 23, 2024
12b2760
Merge branch 'main' of https://github.com/ten-protocol/go-ten into wi…
badgersrus Aug 23, 2024
07003dc
update hardcoding - enclave attestation error
badgersrus Aug 23, 2024
768cdb5
resolce merge
badgersrus Aug 23, 2024
9d4aa8c
clean up
badgersrus Aug 23, 2024
2f36005
clean up
badgersrus Aug 23, 2024
405b353
stashing'
badgersrus Aug 28, 2024
8da1bbc
full network test passing
badgersrus Aug 29, 2024
2678a51
fix sim test ports for beacon gateway
badgersrus Aug 29, 2024
bac9cd1
fixed sim test, smart contracts timing out
badgersrus Aug 30, 2024
cd9b782
Merge branch 'main' into will/proto-danksharding
badgersrus Aug 30, 2024
89e35d1
stashing
badgersrus Sep 2, 2024
d108243
stashing
badgersrus Sep 2, 2024
41006a2
remove tenscan timer
badgersrus Sep 2, 2024
a1c6587
stashing new grpc
badgersrus Sep 4, 2024
c95f40b
remove crap
badgersrus Sep 5, 2024
5af48c4
Merge branch 'main' into will/proto-danksharding
badgersrus Sep 5, 2024
a39536d
fix conflicts
badgersrus Sep 5, 2024
24aaad9
latest
badgersrus Sep 5, 2024
49e47b1
missing files
badgersrus Sep 5, 2024
9956d82
lint
badgersrus Sep 6, 2024
ed52222
fix crud
badgersrus Sep 6, 2024
6e297a7
resolve conflicts from main?
badgersrus Sep 6, 2024
de66fd1
lint
badgersrus Sep 6, 2024
016ea28
remove unused isLatest flag
badgersrus Sep 6, 2024
8fd4ed4
lint
badgersrus Sep 6, 2024
f002230
stashing for branch switch
badgersrus Sep 9, 2024
20de7b6
stashing
badgersrus Sep 10, 2024
6860e43
merge latest
badgersrus Sep 12, 2024
aafa982
fix test
badgersrus Sep 12, 2024
79df20a
regenerate abi
badgersrus Sep 12, 2024
f43704e
try new mock pos network
badgersrus Sep 13, 2024
f805358
Merge branch 'main' of https://github.com/ten-protocol/go-ten into wi…
badgersrus Sep 16, 2024
abd77aa
stashing to test main
badgersrus Sep 16, 2024
674c7e8
stashing
badgersrus Sep 16, 2024
742c0a2
stashing
badgersrus Sep 17, 2024
c049363
stashing before rewrite
badgersrus Sep 18, 2024
418ec9c
fix mock server
badgersrus Sep 18, 2024
2a226a8
stashing before branch switch
badgersrus Sep 19, 2024
32b7fd3
stashing
badgersrus Sep 19, 2024
990e0f4
stashing before rewrite
badgersrus Sep 19, 2024
d069a8c
rejecting blocks failure
badgersrus Sep 19, 2024
211757a
stashing
badgersrus Sep 19, 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
7 changes: 7 additions & 0 deletions contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ NPM (tested with 8.19.3)

## Installing

First you'll need to install ethereum locally

```shell
brew tap ethereum/ethereum
brew install ethereum
```

Running the following command will pull all of the relevant dependencies for node and solidity.

```shell
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
[
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "OwnableInvalidOwner",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "OwnableUnauthorizedAccount",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
[
{
"inputs": [],
"name": "AccessControlBadConfirmation",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes32",
"name": "neededRole",
"type": "bytes32"
}
],
"name": "AccessControlUnauthorizedAccount",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "callerConfirmation",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
Loading
Loading