Skip to content

Commit 5006281

Browse files
authored
Merge pull request #60 from scio-labs/pz/inkv5
feat: upgrade to `ink!` v5
2 parents e3b2839 + 49d181b commit 5006281

File tree

32 files changed

+1613
-1574
lines changed

32 files changed

+1613
-1574
lines changed

.changeset/nervous-dots-remember.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@inkathon/contracts": minor
3+
"@inkathon/frontend": minor
4+
---
5+
6+
Update to ink! v5

.changeset/rotten-humans-add.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@inkathon/contracts": patch
3+
"@inkathon/frontend": patch
4+
---
5+
6+
Disable `typechain-polkadot` typed-contracts until ink! v5 support.

contracts/build-all.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ do
2323
$CP_CMD ./target/ink/$i/$i.wasm $DIR/$i/
2424
$CP_CMD ./target/ink/$i/$i.json $DIR/$i/
2525

26+
# NOTE: Currently disabled until `typechain-polkadot` dependencies are upted to support ink! v5
2627
if [[ "$@" != *"--skip-types"* ]]; then
27-
echo "Generate types via typechain into './typed-contracts'…"
28-
# Because of an open issue, this used the npx-installed version of `@727-ventures/typechain-polkadot`
29-
# See: https://github.com/Brushfam/typechain-polkadot/issues/115
30-
npx @727-ventures/typechain-polkadot --in $DIR/$i/ --out typed-contracts --yes
28+
echo "IMPORTANT: Type generation is currently disabled as it's not yet working with ink! v5"
29+
# echo "Generate types via typechain into './typed-contracts'…"
30+
# Because of an open issue, this uses the npx-installed version (https://github.com/Brushfam/typechain-polkadot/issues/115)
31+
# npx @727-ventures/typechain-polkadot --in $DIR/$i/ --out typed-contracts --yes
3132
fi
3233
done
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export const address = '5CrtpVyLB8iaRPJyB39DvfGgHP1BLGpEfmb9XF1qzN5CFQbX'
2-
export const blockNumber = 41737105
1+
export const address = '5CDia8Y46K7CbD2vLej2SjrvxpfcbrLVqK2He3pTJod2Eyik'
2+
export const blockNumber = 59124732
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export const address = '5DhCVg3QmsPXPpYBGGPerVfnopMUSr49L3eMKmetmJkLfpot'
2-
export const blockNumber = 58304564
1+
export const address = '5GhwMF7VXKGdAi5CcjaMdkug9jUPczA9MxQDqkPCKTDZAtGU'
2+
export const blockNumber = 75868519
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const address = '5EmRFCkahcjJ8nsrZXGV9JwLHwTBNxMo4aScdjGtwnR8XEGV'
2+
export const blockNumber = 4801423

contracts/deployments/greeter/greeter.contract

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)