File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments