Skip to content

Commit

Permalink
Update NatSpec (#25)
Browse files Browse the repository at this point in the history
* add natspec

* update coverage

* add optimizer runs

* fix marketNotPrepared test
  • Loading branch information
mshrieve authored Nov 27, 2023
1 parent 926a810 commit 2623282
Show file tree
Hide file tree
Showing 25 changed files with 869 additions and 834 deletions.
2 changes: 1 addition & 1 deletion .forge-snapshots/ConditionalTokens_mergePositions.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
67211
67124
2 changes: 1 addition & 1 deletion .forge-snapshots/ConditionalTokens_prepareCondition.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
37365
37281
2 changes: 1 addition & 1 deletion .forge-snapshots/ConditionalTokens_reportPayouts.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
49836
49818
2 changes: 1 addition & 1 deletion .forge-snapshots/ConditionalTokens_splitPosition.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
114137
113999
2 changes: 1 addition & 1 deletion .forge-snapshots/NegRiskAdapter_convertPositions_32.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4522762
4494323
2 changes: 1 addition & 1 deletion .forge-snapshots/NegRiskAdapter_convertPositions_5.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
717003
712189
2 changes: 1 addition & 1 deletion .forge-snapshots/NegRiskAdapter_convertPositions_64.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9331964
9272444
2 changes: 1 addition & 1 deletion .forge-snapshots/NegRiskAdapter_mergePositions.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
220694
218882
2 changes: 1 addition & 1 deletion .forge-snapshots/NegRiskAdapter_prepareMarket.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
33110
32999
2 changes: 1 addition & 1 deletion .forge-snapshots/NegRiskAdapter_prepareQuestion.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
37634
37514
2 changes: 1 addition & 1 deletion .forge-snapshots/NegRiskAdapter_splitPosition.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
245589
243537
2 changes: 1 addition & 1 deletion .forge-snapshots/Vault_transferERC1155.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
34921
34884
2 changes: 1 addition & 1 deletion .forge-snapshots/Vault_transferERC20.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
33121
33015
2 changes: 1 addition & 1 deletion .forge-snapshots/WrappedCollateral_burn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3390
3281
2 changes: 1 addition & 1 deletion .forge-snapshots/WrappedCollateral_mint.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
51584
51532
2 changes: 1 addition & 1 deletion .forge-snapshots/WrappedCollateral_unwrap.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
30764
30568
2 changes: 1 addition & 1 deletion .forge-snapshots/WrappedCollateral_wrap.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
77828
77569
3 changes: 3 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ src = "src"
out = "out"
libs = ["lib"]

optimizer = true
optimizer_runs = 1_000_000

ffi = true
fs_permissions = [{ access = "read-write", path = ".forge-snapshots/"},{ access = "read", path = "./artifacts/"}, { access = "read", path = "./out/"}]

Expand Down
Loading

0 comments on commit 2623282

Please sign in to comment.