-
Notifications
You must be signed in to change notification settings - Fork 9
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
IOS-8091 Core DAO SDK #856
Conversation
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.
А это не L2 сетка, а просто EVM? Для L2 сеток в Blockchain.swift есть несколько отдельных пропертей, типа coinDisplayName
, feeDisplayName
@@ -780,6 +786,7 @@ extension Blockchain { | |||
case .base: return true | |||
case .cyber: return false | |||
case .blast: return false | |||
case .core: return false |
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.
Тоже нет EIP1559?
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.
тоже глянул explorer там вроде как нет, вопрос как и у энерджи веб, что приходит в фи хистори
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.
В фи хистори пришло:
EthereumFeeHistory(
baseFee: 0,
lowBaseFee: 0,
marketBaseFee: 0,
fastBaseFee: 0,
lowPriorityFee: 30000000000,
marketPriorityFee: 36000000000,
fastPriorityFee: 45000000000
)
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.
Более низкоуровнево вот так, но тут в целом то же самое
(lldb) po response
▿ EthereumFeeHistoryResponse
▿ baseFeePerGas : 2 elements
- 0 : "0x0"
- 1 : "0x0"
▿ reward : 1 element
▿ 0 : 3 elements
- 0 : "0x70e054f00"
- 1 : "0x737be7600"
- 2 : "0x9502f9000"
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.
кажется просто фоллбэк сработал на gasPrice и заполнил фи хистори, ну чет нули странно, видимо не поддерживает
@@ -49,7 +49,8 @@ public struct DerivationConfigV1: DerivationConfig { | |||
.taraxa, | |||
.base, | |||
.cyber, | |||
.blast: | |||
.blast, | |||
.core: |
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.
в slip44 ничего нет?
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.
Вот тут есть энтри
1116 | 0x8000045c | CORE | Core
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.
Честно говоря не припомню в чем разница v1, v2 и v3
Но судя по вопросу и по аналогии с другими сетям надо
case .core:
return "m/44'/1116'/0'/0/0"
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.
Вроде да, надо было просто комменты почитать)
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.
да, если есть в слипе, то для в1 меняется
@@ -780,6 +786,7 @@ extension Blockchain { | |||
case .base: return true | |||
case .cyber: return false | |||
case .blast: return false | |||
case .core: return false |
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.
тоже глянул explorer там вроде как нет, вопрос как и у энерджи веб, что приходит в фи хистори
Это l1, https://docs.coredao.org/docs/intro |
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.
Вроде все комменты обсудили , честно сказать добавить нечего
IOS-8091
PR в приложении