Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ typechain
#Hardhat files
cache
artifacts
cache-hardhat/
cache-hardhat/

#Narya files
reports/
pnm-cov.json
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/narya-contracts"]
path = lib/narya-contracts
url = https://github.com/NaryaAI/narya-contracts
2 changes: 1 addition & 1 deletion docs/generated/main.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
src = 'src'
out = 'out'
libs = ['lib']
solc = "0.8.10"
optimizer = true
optimizer_runs = 20
# See more config options https://github.com/gakonst/foundry/tree/master/config
8 changes: 4 additions & 4 deletions integration/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ describe("UpgradeableBeacon", function () {
).to.be.false;
await expect(
beacon.connect(actor).upgradeTo(impl2.address)
).to.be.revertedWith("w");
).to.be.revertedWith("HookUpgradeableBeacon: caller does not have the required upgrade permissions");
expect(await beacon.implementation()).to.eq(impl1.address);
});

Expand All @@ -155,7 +155,7 @@ describe("UpgradeableBeacon", function () {
const [, actor] = await ethers.getSigners();
await expect(
beacon.connect(admin).upgradeTo(actor.address)
).to.be.revertedWith("UpgradeableBeacon: implementation is not a contract");
).to.be.revertedWith("HookUpgradeableBeacon: implementation is not a contract");
});
});

Expand Down Expand Up @@ -1189,7 +1189,7 @@ describe("Vault", function () {
"0x0000000000000000000000000000000000000000"
)
).to.be.revertedWith(
"ERC721: transfer caller is not owner nor approve"
"ERC721: transfer caller is not owner nor approved"
);
});

Expand Down Expand Up @@ -1980,7 +1980,7 @@ describe("Vault", function () {
"0x0000000000000000000000000000000000000000"
)
).to.be.revertedWith(
"ERC721: transfer caller is not owner nor approve"
"ERC721: transfer caller is not owner nor approved"
);
});

Expand Down
3 changes: 0 additions & 3 deletions lib/ds-test/.gitignore

This file was deleted.

674 changes: 0 additions & 674 deletions lib/ds-test/LICENSE

This file was deleted.

14 changes: 0 additions & 14 deletions lib/ds-test/Makefile

This file was deleted.

4 changes: 0 additions & 4 deletions lib/ds-test/default.nix

This file was deleted.

223 changes: 0 additions & 223 deletions lib/ds-test/demo/demo.sol

This file was deleted.

Loading