Skip to content

Commit b277aa0

Browse files
authored
chore: Remove token swap facet & generate human readable ABIs (#311)
1 parent 7d41712 commit b277aa0

File tree

188 files changed

+1871
-1485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+1871
-1485
lines changed

.husky/pre-commit

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#!/usr/bin/env sh
2-
31
npx lint-staged
4-
npm run doc
2+
3+
# Update Solidity documentation only if .sol files were changed.
4+
if git diff --cached --name-only | grep -E '\.sol$' > /dev/null; then
5+
npm run doc
6+
fi

.prettierignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ audit/
44
cache/
55
coverage/
66
coverage.json
7-
deployments/
87
node_modules/
98
typechain/
9+
10+
# Autogenerated files
11+
abis/
12+
deployments/
13+
docs/solidity/index.md
14+
docs/solidity/templates/

.solcover.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const BASE_FOLDER = './coverage';
2-
31
module.exports = {
42
/**
53
* See https://github.com/sc-forks/solidity-coverage/issues/715 issue if
@@ -15,13 +13,6 @@ module.exports = {
1513
mocha: {
1614
timeout: 600000, // double timeout
1715
},
18-
skipFiles: [
19-
'tools/Migrations.sol',
20-
'tools/testing/ERC734Mock.sol',
21-
'tools/testing/ERC1271Mock.sol',
22-
'tools/testing/TestClient.sol',
23-
'tools/testing/TestReceiver.sol',
24-
'facets/SignatureVerifier.sol',
25-
],
26-
istanbulFolder: BASE_FOLDER,
16+
skipFiles: ['facets/SignatureVerifier.sol', 'tools/'],
17+
istanbulFolder: './coverage',
2718
};

abis/contracts/Diamond.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,4 @@
282282
"stateMutability": "payable",
283283
"type": "receive"
284284
}
285-
]
285+
]

abis/contracts/IexecInterfaceNative.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4396,4 +4396,4 @@
43964396
"stateMutability": "payable",
43974397
"type": "receive"
43984398
}
4399-
]
4399+
]

abis/contracts/IexecInterfaceToken.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4407,4 +4407,4 @@
44074407
"stateMutability": "payable",
44084408
"type": "receive"
44094409
}
4410-
]
4410+
]

abis/contracts/external/interfaces/IERC734.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
"stateMutability": "view",
2424
"type": "function"
2525
}
26-
]
26+
]

abis/contracts/external/interfaces/IOracleConsumer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
"stateMutability": "nonpayable",
1818
"type": "function"
1919
}
20-
]
20+
]

abis/contracts/facets/FacetBase.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

abis/contracts/facets/IexecAccessorsABILegacyFacet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,4 +312,4 @@
312312
"stateMutability": "view",
313313
"type": "function"
314314
}
315-
]
315+
]

0 commit comments

Comments
 (0)