Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invariant tests from Narya #1515

Open
wants to merge 145 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
2010157
Start of VaultTwo
DanielVF Mar 27, 2023
6b3dd90
No vault Two
DanielVF Mar 30, 2023
ced0ee7
Extract units conversion to method
DanielVF Mar 31, 2023
53f34ab
Exchange rate supporting Vault
DanielVF Mar 31, 2023
f5112d0
Merge remote-tracking branch 'origin/master' into DanielVF/oeth
sparrowDom Apr 4, 2023
931c20d
Remove unneeded memory array
DanielVF Apr 4, 2023
4a459f4
Change to using enums for exchange rate types
DanielVF Apr 4, 2023
98b9076
Merge branch 'DanielVF/oeth' of github.com:OriginProtocol/origin-doll…
DanielVF Apr 4, 2023
7cb179f
Documentation on _toUnits
DanielVF Apr 4, 2023
49c5980
OETH - Allow initialize time control of OUSD resolution (#1273)
DanielVF Apr 4, 2023
02f04ae
Correct mint / redeem with oracle
DanielVF Apr 4, 2023
f42e4ea
merge
DanielVF Apr 4, 2023
a901de0
add the main deploy file for OETH
sparrowDom Apr 4, 2023
ead03b5
make it possible for the 5/8 multisig to be the governor of deployments
sparrowDom Apr 5, 2023
e61294a
prettier
sparrowDom Apr 5, 2023
f6f289a
Gas efficiency
DanielVF Apr 5, 2023
43d6b4d
Merge branch 'DanielVF/oeth' of github.com:OriginProtocol/origin-doll…
DanielVF Apr 5, 2023
dc0b390
add frax eth deployment
sparrowDom Apr 5, 2023
e1335b8
basic sfraxETH strategy implementation
sparrowDom Apr 5, 2023
d0b13ad
add brownie env to git ignore
sparrowDom Apr 5, 2023
534e8a7
prettier
sparrowDom Apr 5, 2023
ce311ae
Remove unused code
DanielVF Apr 5, 2023
d972dc6
add the infrastructure for fork tests
sparrowDom Apr 5, 2023
8355b24
hardcode oracle price
sparrowDom Apr 5, 2023
c62e66e
finish up the fraxETH strategy fork tests and fix a bug
sparrowDom Apr 7, 2023
7d34b28
lint and some minor fixes
sparrowDom Apr 7, 2023
56aed69
deployment file fix
sparrowDom Apr 7, 2023
03612ec
Slither db update for false positives
DanielVF Apr 7, 2023
6c490c6
add a test that checks we can withdraw what the checkBalance returns
sparrowDom Apr 9, 2023
08f4dd7
minor fix
sparrowDom Apr 9, 2023
8f8db30
Merge branch 'master' into DanielVF/oeth
DanielVF Apr 10, 2023
90ea59c
Correct license for new contracts
DanielVF Apr 10, 2023
b3c2d13
Deploy is ready
DanielVF Apr 10, 2023
4d9df7c
Add redeem fee variable
DanielVF Apr 10, 2023
c2ed29c
add slither exceptions
sparrowDom Apr 11, 2023
302f83d
fix tests (#1317)
sparrowDom Apr 12, 2023
5e51b99
OETH - Oracle router changes (#1314)
sparrowDom Apr 12, 2023
ddd33db
fix oracle tests
sparrowDom Apr 12, 2023
e14c126
fix tests
sparrowDom Apr 12, 2023
45fdf7b
more fixes
sparrowDom Apr 12, 2023
aac90cc
fix slither
sparrowDom Apr 12, 2023
4afcafd
ETH / sfrxeth zapper (#1316)
DanielVF Apr 13, 2023
1cde1b6
move decimals cache to asset struct (#1319)
sparrowDom Apr 13, 2023
9b9577a
WOETH deployment (#1320)
sparrowDom Apr 13, 2023
7454bc0
Let’s just call them decimals
DanielVF Apr 13, 2023
0a0d0a2
add decimalsCache to existing Vault
sparrowDom Apr 13, 2023
159bc61
prettier
sparrowDom Apr 13, 2023
80a4d1e
deployment numbering
sparrowDom Apr 13, 2023
1e65b31
fork test fix
sparrowDom Apr 13, 2023
e6ec811
run decimals cache only in forked environment
sparrowDom Apr 13, 2023
9fcb8ba
prettier
sparrowDom Apr 13, 2023
893f4cf
Remove unused buyback trigger
DanielVF Apr 13, 2023
6afa1c3
rETH support
DanielVF Apr 13, 2023
abde155
support oracles reporting feeds with different decimal format (#1321)
sparrowDom Apr 14, 2023
6253520
Add support for stETH
DanielVF Apr 14, 2023
aeba0b5
Use default strat for frxETH
DanielVF Apr 14, 2023
2a33eca
harvester & unit tests (#1331)
sparrowDom Apr 16, 2023
d789eb6
add some addresses
sparrowDom Apr 16, 2023
85a6308
fix project to be compilable with foundry. Added base test setup.
Apr 26, 2023
ce15e9b
added invariant
Apr 27, 2023
9b2179f
nvmrc
Apr 29, 2023
a131dbb
added invariants
May 1, 2023
a4baf84
fix root
May 1, 2023
cdd98ca
Fix narya.toml
ranmocy May 1, 2023
f31997c
weird issue with call that should succeed
May 1, 2023
e14f1b8
Merge branch 'pnm-tests' of https://github.com/NaryaAi-App/OriginProt…
May 1, 2023
564f785
fixed invariant
May 1, 2023
64b1093
fixed invariant
May 1, 2023
5f1d36b
using deal instead of uni router
May 1, 2023
9d0890f
invariant
May 1, 2023
0416b30
added invariants
May 1, 2023
2d176cf
strategy invariants
May 1, 2023
fafc046
malicious platform invariant
May 1, 2023
85ad26f
fixed invariant for double collect
May 1, 2023
c5603d0
fixed user locked funds, rebase will change supply
May 2, 2023
0f8e2f0
using alchemy url
May 2, 2023
e635f91
added meta invariants
May 4, 2023
9e981d8
added condition
May 4, 2023
e0655af
fixed issue
May 4, 2023
9c4b8f6
fixed rpc url, narya parsing issue
May 5, 2023
5949ed4
refactoring. Adding invariants for OUSD live contract
May 6, 2023
bf022f3
invariant broken ?
May 6, 2023
ffd1a4e
invariants for vault balance (except for the meta ousd strategy). See…
May 6, 2023
b2b9826
uising more ether
May 6, 2023
5416c1b
failing unit test
May 6, 2023
14f5e7e
Update .gitignore
tarafans May 6, 2023
cf7ae5f
using more ether
May 6, 2023
f6df390
Merge branch 'pnm-tests' of https://github.com/NaryaAi-App/OriginProt…
May 6, 2023
d020aa1
added unit test for issue
May 6, 2023
9c560d7
fixed invariant
May 6, 2023
ee9aa1c
fixed invariant
May 6, 2023
1ee43fa
removed unused test
May 6, 2023
3dbf649
fixed oeth
May 7, 2023
75e9efc
fix
May 7, 2023
d386031
fixed user locked funds invariant
May 7, 2023
73c0feb
flash loan test
May 7, 2023
420fe46
reduce loan to avoid internal issues
May 7, 2023
9d235fb
fix loan
May 7, 2023
9db07f7
fix loan
May 7, 2023
b35cf42
added ownership invariants for live contracts
May 8, 2023
893f059
governor tests
May 8, 2023
80b5511
Rename tests for live contracts
tarafans May 8, 2023
3d93d7b
meta ousd test for live ousd contract
May 8, 2023
ef6de40
Merge branch 'pnm-tests' of https://github.com/NaryaAi-App/OriginProt…
May 8, 2023
6406ac6
fix bug
May 8, 2023
5664725
typo issue
May 9, 2023
118e071
fix wrong condition
May 9, 2023
bf2b209
un commenting assume
May 9, 2023
c7b4508
need higher ousd to be able to redeem from the meta ousd strategy
May 9, 2023
9ac2192
fixing again
May 10, 2023
1526d3b
remove unused test
May 10, 2023
3e56647
remove unused test
May 10, 2023
f4837b8
merge master branch
May 17, 2023
66b8eff
Set solc to 0.8.19 to make the engine run
tarafans May 18, 2023
4a01a3c
Use the same solc version configured in hardhat
tarafans May 18, 2023
975f5ac
Merge remote-tracking branch 'internal/pnm-tests' into pnm-tests
May 18, 2023
4d7c13e
Fix solc version to 0.8.7
tarafans May 19, 2023
541e27e
Merge branch 'pnm-tests' of github.com:NaryaAi-App/OriginProtocol--or…
tarafans May 19, 2023
860f6bb
Merge branch 'master' into pnm-tests
May 20, 2023
e3f67f9
Re-run tests
tarafans May 21, 2023
4d22a8b
Narya test cleanup
tarafans May 22, 2023
94af6d8
Merge remote-tracking branch 'origin/master' into pnm-tests
May 24, 2023
59863b0
Merge remote-tracking branch 'internal/master' into pnm-tests
May 25, 2023
83866b7
Merge branch 'master' into pnm-tests
May 31, 2023
9330adc
resolve merge conflicts
Jun 6, 2023
aab3579
Merge remote-tracking branch 'origin/master' into pnm-tests
Jun 7, 2023
1466be1
Merge remote-tracking branch 'origin/master' into pnm-tests
Jun 8, 2023
cebbab5
Merge branch 'master' into pnm-tests
Jun 8, 2023
7588953
Merge branch 'master' into pnm-tests
Jun 9, 2023
4b9cb43
Merge branch 'master' into pnm-tests
Jun 13, 2023
11f2a64
Merge branch 'master' into pnm-tests
Jun 15, 2023
3261fd9
Merge branch 'master' into pnm-tests
Jun 17, 2023
b4bd8e9
fix merge
Jun 17, 2023
d76f46f
Merge branch 'master' into pnm-tests
Jun 20, 2023
7f65aee
Merge branch 'master' into pnm-tests
Jun 20, 2023
df437ef
Merge branch 'master' into pnm-tests
Jun 21, 2023
781bc09
Merge branch 'master' into pnm-tests
Jun 23, 2023
f0e99c8
Merge branch 'master' into pnm-tests
Jun 24, 2023
bfdef52
Merge branch 'master' into pnm-tests
Jun 27, 2023
363a678
Merge branch 'master' into pnm-tests
Jun 30, 2023
81924e6
Merge branch 'master' into pnm-tests
Jul 1, 2023
c96602a
Merge remote-tracking branch 'origin/master' into pnm-tests
Jul 5, 2023
4bc72bf
Merge branch 'master' into pnm-tests
Jul 6, 2023
6b844a5
Merge branch 'master' into pnm-tests
Jul 6, 2023
022d628
Merge branch 'master' into pnm-tests
Jul 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into pnm-tests
  • Loading branch information
anarcheuz committed Jun 13, 2023
commit 4b9cb431731beb7d2ae77f92cee41353dbfb53b1

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.