Skip to content

Commit e6ce2ce

Browse files
authored
feat: add CustomFeeLimit and revenue generating topics functionality (#388)
* feat: add CustomFeeLimit Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add unit tests Signed-off-by: dosi <dosi.kolev@limechain.tech> * feat: add CustomFeeLimit field in Transaction Signed-off-by: dosi <dosi.kolev@limechain.tech> * feat: add CustomFeeLimit setters in TopicMessageSubmitTransaction Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add more tests in topic message submit unit tests Signed-off-by: dosi <dosi.kolev@limechain.tech> * feat: add new fields to topic create Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: update and add more unit tests for topic create transaction Signed-off-by: dosi <dosi.kolev@limechain.tech> * feat: add topic update fields Signed-off-by: dosi <dosi.kolev@limechain.tech> * feat: add fields in topic info Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add topic update unit test Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add topic message submit integration test Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add topic update unit tests Signed-off-by: dosi <dosi.kolev@limechain.tech> * fix: fix imports and minor issues in fee and fixed fee Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add topic info unit tests Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add generating revenue topics integration tests Signed-off-by: dosi <dosi.kolev@limechain.tech> * chore: update changelog Signed-off-by: dosi <dosi.kolev@limechain.tech> * chore: add custom fee classes to __init__.py Signed-off-by: dosi <dosi.kolev@limechain.tech> * docs: add revenue generating topics example Signed-off-by: dosi <dosi.kolev@limechain.tech> * chore: address PR feedback Signed-off-by: dosi <dosi.kolev@limechain.tech> * style: format topic message submit transaction integration tests Signed-off-by: dosi <dosi.kolev@limechain.tech> * feat: add custom fee limits to scheduled transactions Signed-off-by: dosi <dosi.kolev@limechain.tech> * test: add integration tests for scheduled topic message submit transaction Signed-off-by: dosi <dosi.kolev@limechain.tech> * fix: integration test failure Signed-off-by: dosi <dosi.kolev@limechain.tech> * chore: update CHANGELOG to unreleased Signed-off-by: dosi <dosi.kolev@limechain.tech> --------- Signed-off-by: dosi <dosi.kolev@limechain.tech>
1 parent 37db6c9 commit e6ce2ce

19 files changed

+2980
-63
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
88

99
## [Unreleased]
1010

11+
### Added
12+
- add revenue generating topic tests/example
13+
- add fee_schedule_key, fee_exempt_keys, custom_fees fields in TopicCreateTransaction, TopicUpdateTransaction, TopicInfo classes
14+
- add CustomFeeLimit class
15+
1116
### Fixed
1217
- Incompatible Types assignment in token_transfer_list.py
1318

0 commit comments

Comments
 (0)