Skip to content

Commit

Permalink
Introduce upgradeability
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlovdog committed Nov 5, 2024
1 parent 56a4dc6 commit 9647534
Show file tree
Hide file tree
Showing 14 changed files with 683 additions and 57 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test

on: workflow_dispatch
on:
push:
branches:
- "**" # This will match pushes to all branches
workflow_dispatch:

env:
FOUNDRY_PROFILE: ci
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ docs/

# Soldeer
/dependencies
node_modules/
7 changes: 5 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ src = "src"
out = "out"
libs = ["lib"]
remappings = ["forge-std/=lib/forge-std/src/"]

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
ffi = true
ast = true
build_info = true
extra_output = ["storageLayout"]
gas_reports = ["MagicSpendStakeManager", "MagicSpendWithdrawalManager"]
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "magic-spend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@openzeppelin/upgrades-core": "^1.40.0"
}
}
Loading

0 comments on commit 9647534

Please sign in to comment.