Skip to content

Commit 610719a

Browse files
committed
Merge remote-tracking branch 'origin/main' into certora/dev
2 parents 0ff92f8 + f463e40 commit 610719a

27 files changed

+406
-295
lines changed

.github/workflows/foundry.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
- type: "slow"
2222
fuzz-runs: 10000
2323
max-test-rejects: 500000
24-
invariant-runs: 48
25-
invariant-depth: 2048
24+
invariant-runs: 0
25+
invariant-depth: 512
2626
- type: "fast"
2727
fuzz-runs: 256
2828
max-test-rejects: 65536
29-
invariant-runs: 16
29+
invariant-runs: 0
3030
invariant-depth: 256
3131

3232
runs-on: ubuntu-latest
@@ -45,3 +45,4 @@ jobs:
4545
FOUNDRY_FUZZ_MAX_TEST_REJECTS: ${{ matrix.max-test-rejects }}
4646
FOUNDRY_INVARIANT_RUNS: ${{ matrix.invariant-runs }}
4747
FOUNDRY_INVARIANT_DEPTH: ${{ matrix.invariant-depth }}
48+
FOUNDRY_FUZZ_SEED: 0x${{ github.event.pull_request.base.sha || github.sha }}

.github/workflows/npm-release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish on NPM
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish-to-npm:
8+
name: Publish to NPM
9+
runs-on: ubuntu-latest
10+
environment:
11+
name: npm
12+
url: https://www.npmjs.com/package/@morpho-org/morpho-blue
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Publish to npm
18+
run: |
19+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
20+
yarn publish --access public
Binary file not shown.
Binary file not shown.
Binary file not shown.

foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ via-ir = true
55
optimizer_runs = 4294967295
66

77
[profile.default.invariant]
8-
runs = 16
8+
runs = 8
99
depth = 256
1010
fail_on_revert = true
1111

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
{
2-
"name": "morpho-blue",
2+
"name": "@morpho-org/morpho-blue",
33
"description": "Morpho Blue Protocol",
44
"license": "BUSL-1.1",
5-
"version": "1.0.0",
5+
"version": "0.1.0",
6+
"files": [
7+
"src",
8+
"README.md",
9+
"LICENSE"
10+
],
611
"scripts": {
7-
"postinstall": "husky install && forge install",
12+
"prepare": "husky install && forge install",
813
"build:forge": "FOUNDRY_PROFILE=build forge build",
914
"build:hardhat": "npx hardhat compile",
1015
"test:forge": "FOUNDRY_PROFILE=test forge test",

remappings.txt

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

0 commit comments

Comments
 (0)