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

ethfs v2 #20

Merged
merged 82 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
4425f86
delete subgraph, bump node/pnpm versions
holic Dec 7, 2023
ff135aa
add singleton factories
holic Dec 7, 2023
f6acdce
remove typechain
holic Dec 7, 2023
9f01889
start reworking contracts with CREATE2
holic Dec 10, 2023
c989420
add gas report
holic Dec 10, 2023
386244a
test slices
holic Dec 10, 2023
cff5ff7
add test for creating file/slice from bytecode
holic Dec 10, 2023
8a715b1
change to bytecode slice
holic Dec 10, 2023
251eea2
uint16 -> uint32
holic Dec 10, 2023
10b0d2f
update gas report
holic Dec 10, 2023
5647e39
rewrite file.read in assembly
holic Dec 10, 2023
f7adc5f
tweaking APIs a bit
holic Dec 11, 2023
21a63f8
more gas reports
holic Dec 11, 2023
ca21c32
small consistency tweak
holic Dec 11, 2023
3bd5998
ensure slice is always specified and valid
holic Dec 11, 2023
cd05fcd
ignore abi and out dirs
holic Dec 11, 2023
7ecb75f
remove typegen types
holic Dec 11, 2023
371e5d8
rework deploys
holic Dec 11, 2023
c916016
handle selfdestructed pointers
holic Dec 12, 2023
30d7d8c
bump solc version to dedupe events
holic Dec 12, 2023
5315da6
make file store immutable/ownerless
holic Dec 12, 2023
2d9837e
small clean up, add natspec
holic Dec 12, 2023
0e04611
add script to deploy to multiple chains, write deploys to file
holic Dec 12, 2023
b8aa269
check in ABIs and their types
holic Dec 13, 2023
13d48ce
add shovel config
holic Dec 13, 2023
b9c5aea
move render.yaml to root
holic Dec 13, 2023
bb23553
try diff region
holic Dec 13, 2023
f2c6022
rename
holic Dec 13, 2023
09292de
try regular rpc nodes
holic Dec 13, 2023
348d5fa
trying out ponder
holic Dec 13, 2023
96ce5f3
try a fallback rpc
holic Dec 13, 2023
40ca89d
use just one rpc
holic Dec 14, 2023
ae1cc45
bring back shovel, add render.yaml for both
holic Dec 14, 2023
802804a
clarify db name
holic Dec 14, 2023
c029ade
add build/start commands
holic Dec 14, 2023
26ac3c0
remove unused packages
holic Dec 14, 2023
64bd86d
move app
holic Dec 14, 2023
79d0ea6
update deps
holic Dec 14, 2023
0b5592c
pnpm create-next-app@latest
holic Dec 14, 2023
ed194a6
add script to create file
holic Dec 14, 2023
fc861da
query files
holic Dec 14, 2023
1ec03c9
fix file creation of existing contents
holic Dec 15, 2023
49d0a11
filter on contract address
holic Dec 15, 2023
0e42fdc
debug
holic Dec 15, 2023
7e6167b
replace rpc
holic Dec 15, 2023
a63173b
try lowercase
holic Dec 15, 2023
6e81577
try no filter
holic Dec 15, 2023
09477a7
start backfill
holic Dec 16, 2023
c38be51
replace ponder rpc
holic Dec 16, 2023
5510bd8
reduce concurrency
holic Dec 16, 2023
8ec7199
update web
holic Dec 16, 2023
04f427d
start moving files over to new web app
holic Dec 17, 2023
b081d98
fix query
holic Dec 17, 2023
5a956bb
wire up file viewer
holic Dec 17, 2023
f2f3d3f
fiddling with subdomains and new design
holic Dec 18, 2023
23e51c6
add file thumbnail
holic Dec 18, 2023
c8df048
better load state for thumbnail
holic Dec 21, 2023
5047373
get uploads working
holic Dec 21, 2023
03686c5
remove getCodeSize method in favor of address.code.length
holic Dec 21, 2023
82a59e7
add separate methods to create file from SSTORE2 pointers
holic Dec 21, 2023
9e512e6
switch to creating file from pointers
holic Dec 21, 2023
612c7bf
write block number of deploy
holic Dec 21, 2023
3cbde49
try filtering on address
holic Dec 21, 2023
ea1316f
remove bytecode hash
holic Dec 24, 2023
e7c505a
pin shovel to older version
holic Dec 24, 2023
d70a02e
fix file upload
holic Dec 24, 2023
7dd1928
remove unused lib
holic Dec 24, 2023
54e63b1
colocate tests with files
holic Dec 24, 2023
9b5fb94
add methods to create file from string contents or chunks
holic Dec 24, 2023
6354447
use safe singleton factory in tests
holic Dec 24, 2023
5892005
refactor slices from size/offset to start/end
holic Dec 24, 2023
4ce3396
replace content store with free functions
holic Dec 25, 2023
a2e20b4
fresh deploy, update gas estimates, upload chunks with deployer
holic Dec 25, 2023
e3efa9f
verify with etherscan
holic Dec 27, 2023
51eaa8e
update comments
holic Dec 27, 2023
7fa1a9f
bump solc version
holic Dec 27, 2023
2a4390b
move all free functions into common.sol
holic Dec 27, 2023
a2d7dc4
small comment tweak
holic Dec 27, 2023
408a685
disable ponder for now
holic Dec 27, 2023
b3ac339
add more chains
holic Dec 27, 2023
e41d084
spin up web service on render
holic Dec 27, 2023
c2ea614
quiet TS
holic Dec 27, 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
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
[submodule "packages/contracts/lib/forge-std"]
path = packages/contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "packages/contracts/lib/ethier"]
path = packages/contracts/lib/ethier
url = https://github.com/divergencetech/ethier
[submodule "packages/contracts/lib/solady"]
path = packages/contracts/lib/solady
url = https://github.com/Vectorized/solady
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18
4 changes: 1 addition & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"recommendations": [
"bradlc.vscode-tailwindcss",
"dbaeumer.vscode-eslint",
"JuanBlanco.solidity",
"redhat.vscode-yaml",
"rvest.vs-code-prettier-eslint"
"NomicFoundation.hardhat-solidity"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
Expand Down
15 changes: 2 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,9 @@
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
// improve monorepo handling
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"[solidity]": {
"editor.defaultFormatter": "JuanBlanco.solidity"
},
"solidity.packageDefaultDependenciesContractsDirectory": "packages/contracts/src",
"solidity.packageDefaultDependenciesDirectory": "packages/contracts/lib",
"search.exclude": {
"packages/contracts/lib": true
"editor.defaultFormatter": "NomicFoundation.hardhat-solidity"
}
}
22 changes: 0 additions & 22 deletions foundry.toml

This file was deleted.

25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,26 @@
"private": true,
"version": "0.0.0",
"engines": {
"node": "16",
"pnpm": "7"
"node": "18",
"pnpm": "8"
},
"scripts": {
"preinstall": "npx -y only-allow pnpm",
"postinstall": "[ -z $CI ] && forge install || echo \"Skipping forge install for CI\"",
"dev": "pnpm --parallel dev",
"prettier": "pnpm --parallel --no-bail prettier",
"lint": "pnpm --parallel --no-bail lint",
"test": "pnpm --parallel --no-bail test"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"prettier": "^2.6.2",
"typescript": "^4.5.5",
"husky": "^8.0.0"
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"prettier": "^3.1.1",
"typescript": "^5.3.3"
}
}
2 changes: 0 additions & 2 deletions packages/app/.env

This file was deleted.

1 change: 0 additions & 1 deletion packages/app/.eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions packages/app/.eslintrc.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/app/.prettierignore

This file was deleted.

14 changes: 0 additions & 14 deletions packages/app/codegen.yml

This file was deleted.

Loading
Loading