Skip to content

Commit 0cf3903

Browse files
authored
Update changelog for v2.1.0 (#576)
* Update changelog for v2.1.0
1 parent 2ec67f4 commit 0cf3903

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ Changelog for `odra`.
77
- `init_dictionary` function in `ContractEnv`.
88
- `init` functions to all named keys related modules.
99
- Enforce all named keys in `CEP-18` and `CEP-95` to be initialized in the `init` function.
10+
- New commands in `odra-cli`:
11+
- `whoami` - prints the address of the current account.
12+
- `print-events` - prints all events emitted by the contract.
13+
- A base cli implementation in templates.
14+
15+
### Changed
16+
- Signature of functions in `HostEnv`, to accept `&Addressable` instead of `Address`.
17+
- Signature of `emitted_*` functions in `HostEnv`, to accept `T: ToBytes + EventInstance` instead of
18+
a `&T` reference.
19+
- `odra-cli` requires the `gas` parameter to call a mutable entrypoint.
20+
- `__attached_value` is now `attached_value` in `odra-cli`.
21+
- `HostEnv::address() -> &Address` now is `HostEnv::contract_address(&self) -> Address`.
22+
- `Addressable::address()` returns `Address` instead of `&Address`.
1023

1124
## [2.0.1] - 2025-06-06
1225
### Added

0 commit comments

Comments
 (0)