Skip to content

Commit 7b63324

Browse files
authored
Merge branch 'dev' into verification-workflow
2 parents 4dbd952 + 81205ba commit 7b63324

File tree

61 files changed

+2560
-238
lines changed

Some content is hidden

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

61 files changed

+2560
-238
lines changed

.github/workflows/call.deploy-dry-run.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
network:
77
required: true
88
type: string
9-
network-id:
10-
required: true
11-
type: string
129
provider-url:
1310
required: true
1411
type: string
@@ -28,8 +25,11 @@ jobs:
2825
yarn install --frozen-lockfile
2926
yarn build-for-contracts-dev
3027
31-
- name: Start ganache
32-
run: npx ganache --port 47545 --mnemonic --fork.url ${{ github.event.inputs.provider-url }} --network-id ${{ github.event.inputs.network-id }} --chain.chainId ${{ github.event.inputs.network-id }}
28+
- name: Start hardhat node
29+
run: |
30+
cd ${{ env.ethereum-contracts-working-directory }}
31+
npx hardhat node --port 47545 --fork ${{ github.event.inputs.provider-url }} &
32+
sleep 5
3333
3434
- name: Deploy framework
3535
run: |

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ package-lock.json
3030
# echidna litters
3131
crytic-export
3232
corpus
33+
34+
/broadcast
35+
/.direnv

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
path = lib/openzeppelin-contracts
66
url = https://github.com/OpenZeppelin/openzeppelin-contracts.git
77
branch = release-v5.4
8+
[submodule "lib/aave-v3"]
9+
path = lib/aave-v3
10+
url = https://github.com/aave-dao/aave-v3-origin

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For technical document, references and tutorials, etc, refer to the
5757
<a href="https://www.npmjs.com/package/@superfluid-finance/ethereum-contracts" target="_blank">
5858
<img alt="Version" src="https://img.shields.io/npm/v/@superfluid-finance/ethereum-contracts.svg">
5959
</a>
60-
<a href="https://codecov.io/gh/superfluid-finance/protocol-monorepo/tree/dev/packages/ethereum-contracts">
60+
<a href="https://codecov.io/gh/superfluid-org/protocol-monorepo/tree/dev/packages/ethereum-contracts">
6161
<img src="https://codecov.io/gh/superfluid-finance/protocol-monorepo/branch/dev/graph/badge.svg?token=LJW5NDGEJ9&flag=ethereum-contracts"/>
6262
</a>
6363
<a href="#" target="_blank">

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
gnupg
9393
];
9494

95-
# minimem development shell
95+
# minimum development shell
9696
minimumDevInputs = commonDevInputs ++ ethDevInputs ++ defaultNodeDevInputs;
9797

9898
# additional tooling for whitehat hackers

lib/aave-v3

Submodule aave-v3 added at 1ce897b

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"nyc": "^17.0.0",
3434
"prettier": "^3.3.3",
3535
"prettier-eslint": "^16.3.0",
36-
"solhint": "^5.0.3",
36+
"solhint": "^6.0.2",
3737
"syncpack": "^13.0.0",
3838
"truffle": "^5.11.5",
3939
"ts-node": "^10.9.2",
@@ -52,7 +52,7 @@
5252
},
5353
"scripts": {
5454
"prepare": "husky && npm run git-submodule:init",
55-
"postinstall": "ln -fs ../lib/openzeppelin-contracts node_modules/@openzeppelin-v5",
55+
"postinstall": "ln -fs ../lib/openzeppelin-contracts node_modules/@openzeppelin-v5 && ln -fs ../lib/aave-v3 node_modules/aave-v3",
5656
"lint": "run-s -l lint:*",
5757
"lint:syncpack": "syncpack lint",
5858
"lint:shellcheck": "tasks/shellcheck-all-tasks.sh",

packages/automation-contracts/autowrap/.solhint.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
"constructor-syntax": "error",
1515
"func-visibility": ["error", { "ignoreConstructors": true }],
1616
"quotes": ["error", "double"],
17-
"max-line-length": ["error", 120]
17+
"max-line-length": ["error", 120],
18+
"use-natspec": "off",
19+
"import-path-check": "off",
20+
"gas-indexed-events": "off",
21+
"gas-struct-packing": "off",
22+
"gas-small-strings": "off",
23+
"gas-increment-by-one": "off",
24+
"gas-strict-inequalities": "off",
25+
"gas-calldata-parameters": "off",
26+
"function-max-lines": "off",
27+
"contract-name-capwords": "off"
1828
}
1929
}

packages/automation-contracts/autowrap/foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ root = '../../../'
33
libs = ['lib']
44
src = 'packages/automation-contracts/autowrap'
55
solc_version = "0.8.30"
6-
evm_version = 'shanghai'
6+
evm_version = 'cancun'
77
optimizer = true
88
optimizer_runs = 200
99
remappings = [

packages/automation-contracts/autowrap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Open contracts that allow upgrading underlying token to supertokens based on running stream",
44
"version": "0.3.0",
55
"devDependencies": {
6-
"@superfluid-finance/ethereum-contracts": "^1.14.0",
6+
"@superfluid-finance/ethereum-contracts": "^1.14.1",
77
"@superfluid-finance/metadata": "^1.6.2"
88
},
99
"license": "MIT",

0 commit comments

Comments
 (0)