Skip to content

Commit

Permalink
update content
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsemakula committed May 5, 2024
1 parent edba08a commit 593c0a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions blog/2024-05-04-ink-v4-to-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ along with other major improvements, across all ink! analyzer components includi

- Command and code action for [migrating ink! 4.x projects to ink! 5.0][ink-v4-to-v5] including:
- Migrating ink! events to "2.0" syntax.
- Migrating ink! chain extension attribute macro and associate `fn` attribute argument to ink! 5.0 syntax.
- Migrating ink! chain extension attribute macro and associated `fn` attribute argument to ink! 5.0 syntax.
- Replacing "built-in" `derive`s of `SCALE` codec traits with ink! 5.0 `scale_derive` attribute macro equivalents.
- Migrating ink! e2e tests including:
- Updating e2e `fn` signatures to include new `E2EBackend` trait.
Expand All @@ -54,11 +54,11 @@ along with other major improvements, across all ink! analyzer components includi
- Migrating cross-contract host function calls to new API equivalents to preserve semantics including:
- Replacing `call` from `CallBuilder` via `build_call` with `call_v1`.
- Adding an `instantiate_v1` call before other method calls on `CreateBuilder`s via `build_create`.
- Replace `instantiate_contract` and `invoke_contract` with `instantiate_contract_v1` and `invoke_contract_v1`
- Replacing `instantiate_contract` and `invoke_contract` with `instantiate_contract_v1` and `invoke_contract_v1`
for direct calls in any function.
- Replace `instantiate_contract` and `invoke_contract` with `instantiate_contract_v1` and `invoke_contract_v1`
for indirect calls via `Self::env()` and `self.env()` in constructors and messages.
- Replace `Call` constructors with `CallV1`.
- Replacing `instantiate_contract` and `invoke_contract` with `instantiate_contract_v1` and `invoke_contract_v1`
for indirect calls via `Self::env()` and `self.env()` in ink! constructors and messages.
- Replacing `Call` constructors with `CallV1`.
- Migrating ink! project `Cargo.toml` to ink! 5.0 (i.e. updating `ink` and `ink_e2e` dependencies,
removing `SCALE` dependencies and related features e.t.c).
- Completions for full ink! entities (i.e. inserting full Rust items not just ink! attribute macros and arguments
Expand Down

0 comments on commit 593c0a8

Please sign in to comment.