Skip to content

Commit 2508418

Browse files
committed
fix: revert changes of version in migration docs and remove ethereum tutorials because moved to docs.
1 parent 484692d commit 2508418

File tree

8 files changed

+33
-141
lines changed

8 files changed

+33
-141
lines changed

docs/faq/migrating-from-ink-3-to-4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ layout) changes from ink! 3.x to 4.0.
2222

2323
ink! 4.0 is compatible with:
2424

25-
- Stable Rust >= 1.90
25+
- Stable Rust >= 1.63.0
2626
- `scale` >=3
2727
- `scale-info` >= 2.3
2828
- `pallet-contracts` >= `polkadot-v0.9.37`
@@ -56,7 +56,7 @@ process.
5656

5757
ink! 4.0 and `cargo-contract` use `stable` Rust now.
5858
This means no more `cargo +nightly contract` is required, you
59-
can just use a stable Rust toolchain now (>= Rust 1.90).
59+
can just use a stable Rust toolchain now (>= Rust 1.63).
6060

6161
## New entrance `ink` crate
6262

docs/faq/migrating-from-ink-4-to-5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ ensure that this version is enforced, otherwise users will get an error.
141141

142142
### Tooling & Libraries
143143

144-
- Stable Rust >= 1.90
144+
- Stable Rust >= 1.75
145145
- `cargo-contract` >= v4.0
146146
- `polkadot-js/api` and `polkadot-js/api-contract` >= 10.12.1
147147
- [`use-inkathon`](https://github.com/scio-labs/use-inkathon): upgrade the `polkadot-js/api` and `polkadot-js/api-contract` dependencies in your project to >= 10.12.1

docs/intro/overview.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

docs/solidity-interop/calling-solidity-contracts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /solidity-interop/calling-solidity-contracts
88

99
# Calling Solidity Contracts
1010

11-
ink! v6 contracts can call Solidity ABI-encoded contracts, enabling seamless interoperability between ink!, Solidity, and other Solidity ABI-compatible contracts. This allows you to integrate with existing Ethereum-compatible smart contracts deployed on Polkadot networks.
11+
ink! v6 contracts can call Solidity ABI-encoded contracts, enabling seamless interoperability between ink!, Solidity, and other Solidity ABI-compatible contracts. This allows you to integrate with existing Ethereum-compatible smart contracts deployed on Polkadot.
1212

1313
There are two main approaches to calling Solidity contracts from ink!:
1414
1. **Contract References** (`ContractRef`) - High-level, type-safe interfaces

docs/solidity-interop/use-ink-with-solidity-abi.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ hide_title: true
44
slug: /solidity-interop/use-ink-with-solidity-abi
55
---
66

7+
import Tabs from '@theme/Tabs';
8+
import TabItem from '@theme/TabItem';
9+
710
![Use Solidity tooling](/img/title/solidity.svg)
811

912
# Use ink! with Solidity ABI
@@ -23,10 +26,20 @@ By enabling Solidity ABI compatibility, you can:
2326

2427
### 1. Create Your Contract
2528

26-
```bash
27-
cargo contract new my_contract
28-
cd my_contract
29-
```
29+
<Tabs>
30+
<TabItem value="pop" label="Pop" default>
31+
```bash
32+
pop new contract my_contract -t standard
33+
cd my_contract
34+
```
35+
</TabItem>
36+
<TabItem value="cargo-contract" label="cargo-contract">
37+
```bash
38+
cargo contract new my_contract
39+
cd my_contract
40+
```
41+
</TabItem>
42+
</Tabs>
3043

3144
### 2. Enable Solidity ABI
3245

@@ -39,9 +52,18 @@ abi = "sol"
3952

4053
### 3. Build with Solidity Metadata
4154

42-
```bash
43-
cargo contract build --release --metadata solidity
44-
```
55+
<Tabs>
56+
<TabItem value="pop" label="Pop" default>
57+
```bash
58+
pop build --release --metadata solidity
59+
```
60+
</TabItem>
61+
<TabItem value="cargo-contract" label="cargo-contract">
62+
```bash
63+
cargo contract build --release --metadata solidity
64+
```
65+
</TabItem>
66+
</Tabs>
4567

4668
This generates Solidity-compatible artifacts in `target/ink/`:
4769
- `*.abi` - Solidity ABI file for contract interaction

tutorials/ethereum-compatibility/overview.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

tutorials/ethereum-compatibility/setup-solidity-abi.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

tutorials/sidebar.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ module.exports = {
88
'frontend-development/inkathon-erc20',
99
],
1010
},
11-
{
12-
type: 'category',
13-
label: 'Ethereum Compatibility',
14-
items: [
15-
'ethereum-compatibility/overview',
16-
'ethereum-compatibility/setup-solidity-abi',
17-
],
18-
},
1911
{
2012
type: 'category',
2113
label: 'Contribute',

0 commit comments

Comments
 (0)