From 7da44cb2f166ccc21884f0b1231808436ebc3c22 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 24 Oct 2022 21:02:03 -0500 Subject: [PATCH] more changes --- .gitmodules | 12 ------------ 4bytes | 1 - chains | 1 - package.json | 3 ++- topic0 | 1 - 5 files changed, 2 insertions(+), 16 deletions(-) delete mode 160000 4bytes delete mode 160000 chains delete mode 160000 topic0 diff --git a/.gitmodules b/.gitmodules index 0e9bd10..b938166 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,16 +1,4 @@ -[submodule "4bytes"] - path = 4bytes - url = https://github.com/ethereum-lists/4bytes.git - ignore = dirty [submodule "trustwallet"] path = trustwallet url = https://github.com/trustwallet/assets.git ignore = dirty -[submodule "topic0"] - path = topic0 - url = https://github.com/wmitsuda/topic0.git - ignore = dirty -[submodule "chains"] - path = chains - url = https://github.com/ethereum-lists/chains.git - ignore = dirty diff --git a/4bytes b/4bytes deleted file mode 160000 index 5197eb5..0000000 --- a/4bytes +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5197eb52b81b8594b6c5d3de023e649bec9523ca diff --git a/chains b/chains deleted file mode 160000 index b725d8e..0000000 --- a/chains +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b725d8e7cce9ceb97b888c9ad5a1eec9495e194d diff --git a/package.json b/package.json index 75a6e6b..2372d1f 100644 --- a/package.json +++ b/package.json @@ -46,10 +46,11 @@ "scripts": { "start": "vite", "build": "tsc && vite build", - "postbuild": "cp -r chains dist && cp -r topic0 dist", + "postbuild": "cp -r chains dist && cp -r topic0 dist && cp -r 4bytes dist", "preview": "vite preview", "dl-chains": "svn checkout https://github.com/ethereum-lists/chains/trunk/_data/chains && rm -rf chains/.svn", "dl-topic0": "git clone https://github.com/wmitsuda/topic0 && rm -rf topic0/.git", + "dl-4byte": "git clone github.com/ethereum-lists/4bytes && rm -rf 4bytes/.git", "source-map-explorer": "source-map-explorer build/static/js/*.js", "assets-start": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/signatures:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets/1 -v$(pwd)/topic0/with_parameter_names:/usr/share/nginx/html/topic0/ -v$(pwd)/chains/_data/chains:/usr/share/nginx/html/chains/ -v$(pwd)/nginx/nginx.conf:/etc/nginx/nginx.conf -v$(pwd)/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf nginx:1.21.1-alpine", "assets-start-with-param-names": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/with_parameter_names:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets/1 -v$(pwd)/topic0/with_parameter_names:/usr/share/nginx/html/topic0/ -v$(pwd)/chains/_data/chains:/usr/share/nginx/html/chains/ -v$(pwd)/nginx/nginx.conf:/etc/nginx/nginx.conf -v$(pwd)/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf nginx:1.21.1-alpine", diff --git a/topic0 b/topic0 deleted file mode 160000 index f6a21e2..0000000 --- a/topic0 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f6a21e2e0036217a33f0a9c8b4aef26e47a02b7d