-
Notifications
You must be signed in to change notification settings - Fork 12
feat(EWM-519): tycho staking #903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
@@ -49,7 +50,7 @@ class GasPriceService { | |||
(json) => AbiParam.fromJson(json as Map<String, dynamic>), | |||
) | |||
.toList(), | |||
boc: params[21]!, // 20 for masterchain | |||
boc: params[type.paramsKey]!, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мы в этом месте гарантируем что не null?
Или есть вероятность что может крашнуть?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Гарантируем
final info = _nekotonRepository.currentTransport.stakeInformation; | ||
if (info == null) return StakingFees.empty(); | ||
|
||
if (_networkType == 'tycho') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нам нужно где-то положить в константы название сетей для таких случаев.
93cb3ab
to
9abf01d
Compare
Description
copilot:all
Type of Change