Skip to content

Commit 3280eca

Browse files
author
Gherman
authored
add notice on removed argument (#312)
1 parent 4dea70d commit 3280eca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

versioned_docs/version-5.x/faq/migrating-from-ink-4-to-5.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,13 @@ let first_insert = ink_e2e::build_message::<MappingsRef>(contract_id)
328328

329329
See [#1782](https://github.com/paritytech/ink/pull/1782) for more details.
330330

331+
#### Removed `additional_contracts` parameter
332+
333+
`additional_contracts` parameter which is part of `#[ink_e2e:test]` has been removed in [#2098](https://github.com/paritytech/ink/pull/2098).
334+
This information is now implied from the contract's manifest.
335+
Simply, add the other contract as dependency with the `ink-as-a-dependency` feature enabled.
336+
The test will detect the contract and build it as part of the test.
337+
331338
### New Data Structure: `StorageVec`
332339

333340
We've added a `Vec`-like data structure, built on top of Mapping.

0 commit comments

Comments
 (0)