Skip to content

Commit

Permalink
Merge pull request #57 from okwme/prettier-redux
Browse files Browse the repository at this point in the history
Prettier redux
  • Loading branch information
psugihara authored Mar 20, 2024
2 parents ff4f348 + 189ac9c commit b7db4cd
Show file tree
Hide file tree
Showing 75 changed files with 7,513 additions and 2,930 deletions.
5 changes: 4 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
**
# Ignore artifacts:
build
coverage
dist
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
2 changes: 1 addition & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ module.exports = {
],
configureYulOptimizer: true,
istanbulFolder: 'docs'
}
}
96 changes: 59 additions & 37 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions circuits/absoluteValueSubtraction.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"in": ["-100","-10"]
}
"in": ["-100", "-10"]
}
2 changes: 1 addition & 1 deletion circuits/calculateForceMain.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"in_bodies": [
"in_bodies": [
["226000", "42000", "8670", "3710", "100000"],
["363000", "658000", "6680", "13740", "75000"]
]
Expand Down
2 changes: 1 addition & 1 deletion circuits/calculateMissileMain.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"in_missile": ["0", "0", "0", "0", "0"]
}
}
6 changes: 3 additions & 3 deletions circuits/detectCollisionMain.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"bodies": [
"bodies": [
["226000", "42000", "100000"],
["363000", "658000", "75000"],
["679000", "500000", "50000"]
["679000", "500000", "50000"]
],
"missile": ["226000", "42000", "100000"]
}
}
4 changes: 2 additions & 2 deletions circuits/forceAccumulatorMain.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"bodies": [
"bodies": [
["226000", "42000", "8670", "3710", "100000"],
["363000", "658000", "6680", "13740", "75000"],
["679000", "500000", "12290", "12520", "50000"]
]
}
}
2 changes: 1 addition & 1 deletion circuits/getDistanceMain.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"y1": "7000",
"x2": "4000",
"y2": "2000"
}
}
2 changes: 1 addition & 1 deletion circuits/limiterMain.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"in": "1300000000",
"limit": "1300000001",
"rather": "400000000"
}
}
2 changes: 1 addition & 1 deletion circuits/lowerLimiterMain.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"in": "1300000000",
"limit": "700000000",
"rather": "400000000"
}
}
4 changes: 2 additions & 2 deletions circuits/nft.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"bodies": [
"bodies": [
["226000", "42000", "8670", "3710", "100000"],
["363000", "658000", "6680", "13740", "75000"],
["679000", "500000", "12290", "12520", "50000"]
]
}
}
194 changes: 25 additions & 169 deletions circuits/stepStateTest.json
Original file line number Diff line number Diff line change
@@ -1,174 +1,30 @@
{
"bodies": [
[
"226000",
"42000",
"8670",
"3710",
"100000"
],
[
"363000",
"658000",
"6680",
"13740",
"75000"
],
[
"679000",
"500000",
"12290",
"12520",
"50000"
]
["226000", "42000", "8670", "3710", "100000"],
["363000", "658000", "6680", "13740", "75000"],
["679000", "500000", "12290", "12520", "50000"]
],
"missiles": [
[
"226000",
"42000",
"10000",
"10000",
"100000"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
],
[
"0",
"0",
"0",
"0",
"0"
]
["226000", "42000", "10000", "10000", "100000"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"],
["0", "0", "0", "0", "0"]
]
}
}
5 changes: 4 additions & 1 deletion contractData/11155111-Bodies.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x56931Eb4dBb1cB43F58064b4B08004c7C41aC7bB","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x56931Eb4dBb1cB43F58064b4B08004c7C41aC7bB",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x2a5B76734bFCA8BC1cF01FE17895d2cDBE867777","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x2a5B76734bFCA8BC1cF01FE17895d2cDBE867777",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_10_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0xC28cEF4ca2eD6d84ebfCA6a4fCc1Cad98c5efE0B","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0xC28cEF4ca2eD6d84ebfCA6a4fCc1Cad98c5efE0B",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_3_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0xD3fbb528CaC7Cf8B58203dA42127a5ff43a6AdB9","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0xD3fbb528CaC7Cf8B58203dA42127a5ff43a6AdB9",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_4_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x1A75E743d65F23E10f949561aE3FD65ce462Fb5f","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x1A75E743d65F23E10f949561aE3FD65ce462Fb5f",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_5_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x77c1FD2029F86561D5eB40D89FEe3344841d9804","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x77c1FD2029F86561D5eB40D89FEe3344841d9804",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_6_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x561d1e39F43fAA23390271B578e9F02EF157606D","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x561d1e39F43fAA23390271B578e9F02EF157606D",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_7_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0xE8aAef32e5CAd885779cc3Fd53cB9922e4717e20","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0xE8aAef32e5CAd885779cc3Fd53cB9922e4717e20",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_8_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0xFf247Cc3735B87d6F0254a523831d8b5F7734244","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0xFf247Cc3735B87d6F0254a523831d8b5F7734244",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Nft_9_20Verifier.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x1Cc60353818dEc14dB8A0898a8E063E2e9a7c50c","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x1Cc60353818dEc14dB8A0898a8E063E2e9a7c50c",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Problems.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0xAC8Cf9Cb4d64885D14838907C002b29bd80f9df7","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0xAC8Cf9Cb4d64885D14838907C002b29bd80f9df7",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Solver.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x7F22323208998B0F3Cb3D0861aa261923ABDC8d0","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x7F22323208998B0F3Cb3D0861aa261923ABDC8d0",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
5 changes: 4 additions & 1 deletion contractData/11155111-Tocks.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x7F42A75bE17FA168badab7C0625A93aDB37D004A","chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{
"address": "0x7F42A75bE17FA168badab7C0625A93aDB37D004A",
"chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null }
}
2 changes: 1 addition & 1 deletion contractData/11155111-verificationData.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"chain":{"name":"sepolia","chainId":11155111,"ensAddress":null}}
{ "chain": { "name": "sepolia", "chainId": 11155111, "ensAddress": null } }
5 changes: 4 additions & 1 deletion contractData/80085-Bodies.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{"address":"0x32414568EE3108487De9726Cfd0c41B4A716Da5e","chain":{"chainId":80085,"name":"unknown"}}
{
"address": "0x32414568EE3108487De9726Cfd0c41B4A716Da5e",
"chain": { "chainId": 80085, "name": "unknown" }
}
Loading

0 comments on commit b7db4cd

Please sign in to comment.