Skip to content

Commit 9647534

Browse files
committed
Introduce upgradeability
1 parent 56a4dc6 commit 9647534

14 files changed

+683
-57
lines changed

.github/workflows/test.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: test
22

3-
on: workflow_dispatch
3+
on:
4+
push:
5+
branches:
6+
- "**" # This will match pushes to all branches
7+
workflow_dispatch:
48

59
env:
610
FOUNDRY_PROFILE: ci

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ docs/
1616

1717
# Soldeer
1818
/dependencies
19+
node_modules/

foundry.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ src = "src"
33
out = "out"
44
libs = ["lib"]
55
remappings = ["forge-std/=lib/forge-std/src/"]
6-
7-
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
6+
ffi = true
7+
ast = true
8+
build_info = true
9+
extra_output = ["storageLayout"]
10+
gas_reports = ["MagicSpendStakeManager", "MagicSpendWithdrawalManager"]

package.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "magic-spend",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"keywords": [],
10+
"author": "",
11+
"license": "ISC",
12+
"dependencies": {
13+
"@openzeppelin/upgrades-core": "^1.40.0"
14+
}
15+
}

0 commit comments

Comments
 (0)