Skip to content

Commit e7a0001

Browse files
committed
Update soldeer versions in foundry docs
1 parent 9f93e2c commit e7a0001

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/build/tools/foundry.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ After intializing the project, we can install the **Sapphire Contracts**
6262
package using Foundry package manager [Soldeer]:
6363

6464
```shell
65-
forge soldeer install @oasisprotocol-sapphire-contracts~0.2.13
65+
forge soldeer install @oasisprotocol-sapphire-contracts~0.2.14
6666
```
6767

6868
### Installing Sapphire Foundry (Optional)
@@ -79,7 +79,7 @@ available in the **Sapphire foundry** package.
7979
1. Install the **Sapphire Foundry** Soldeer package:
8080

8181
```shell
82-
forge soldeer install @oasisprotocol-sapphire-foundry~0.1.0
82+
forge soldeer install @oasisprotocol-integrations-foundry~0.1.1
8383
```
8484

8585
2. Your foundry.toml file should now look like this:
@@ -93,8 +93,8 @@ available in the **Sapphire foundry** package.
9393
ffi = true
9494

9595
[dependencies]
96-
"@oasisprotocol-sapphire-contracts" = "0.2.13"
97-
"@oasisprotocol-sapphire-foundry" = "0.1.0"
96+
"@oasisprotocol-sapphire-contracts" = "0.2.14"
97+
"@oasisprotocol-integrations-foundry~0.1.1" = "0.1.1"
9898
// highlight-end
9999
```
100100

@@ -119,20 +119,20 @@ available in the **Sapphire foundry** package.
119119
rustup default nightly
120120
```
121121

122-
Note: `@oasisprotocol-sapphire-foundry` relies on Oasis Sapphire
122+
Note: `oasisprotocol-integrations-foundry` relies on Oasis Sapphire
123123
`runtime-sdk` crate which requires nightly toolchain.
124124

125125
4. Install Sapphire precompiles:
126126
```shell
127-
cd dependencies/@oasisprotocol-sapphire-foundry-0.1.0/precompiles
127+
cd dependencies/@oasisprotocol-integrations-foundry-0.1.1/precompiles
128128
cargo +nightly build --release
129129
```
130130

131131
## Sapphire-specific Tests
132132

133133
Users who aren't familiar with confidential benefits of Sapphire
134134
should take a moment to review the Ethereum [comparison page].
135-
The `@oasisprotocol-sapphire-foundry` package enables
135+
The `@oasisprotocol-integrations-foundry` package enables
136136
testing with precompiles and encrypted calls.
137137

138138
### Precompiles
@@ -144,7 +144,7 @@ Since Foundry uses un-customized Revm, they are not available by default.
144144
To enable them in Forge tests, add the **import** statement to your test file:
145145

146146
```solidity
147-
import {SapphireTest} from "@oasisprotocol-sapphire-foundry-0.1.0/BaseSapphireTest.sol";
147+
import {SapphireTest} from "@oasisprotocol-integrations-foundry-0.1.1/BaseSapphireTest.sol";
148148
```
149149

150150
and then inherit from `SapphireTest` from `BaseSapphireTest.sol`
@@ -174,7 +174,7 @@ through the fallback function.
174174
We need to inherit from it to enable decryption.
175175

176176
```solidity
177-
import {SapphireDecryptor} from "@oasisprotocol-sapphire-foundry-0.1.0/BinaryContracts.sol";
177+
import {SapphireDecryptor} from "@oasisprotocol-integrations-foundry-0.1.1/BinaryContracts.sol";
178178
179179
contract CustomContract is SapphireDecryptor {
180180
```

0 commit comments

Comments
 (0)