-
Notifications
You must be signed in to change notification settings - Fork 13
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
Hf20 testnet appbase #4
Conversation
…ity and prove_authority
TODO:
|
opts.chainId = '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673' | ||
return new Client('https://testnet.steem.vc', opts) | ||
|
||
opts.addressPrefix = 'TST' |
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.
These assignments could be an issue. addressPrefix
& chainId
are not guaranteed on any testnet, including testnet.steemitdev.com
; in fact there are explicit stories and direction on the dev portal about the chain id changing to something derived from the current git-hash.
Steemit maintains a live testnet to which you can connect. In the near future, we expect the chain id to update with every code change.
We need to have these update only-if-not-set.
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.
Looking for smallest set of changes in this PR, let's revisit this later. Still need to figure out how we'll handle it in the other clients too.
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.
Still need to figure out how we'll handle it in the other clients too.
I agree, we need to address this need in other clients as well, but that's not relevant here.
Added issue #5 to track our needs, and approving to keep the flow going.
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.
The d
in dsteem...
@@ -249,6 +240,18 @@ export interface ClaimRewardBalanceOperation extends Operation { | |||
} | |||
} | |||
|
|||
export interface ClaimAccountOperation extends Operation { |
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.
Operation needs to be documented.
@@ -288,6 +291,23 @@ export interface ConvertOperation extends Operation { | |||
} | |||
} | |||
|
|||
export interface CreateClaimedAccountOperation extends Operation { |
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.
Operation needs to be documented.
extensions: any[] // extensions_type | ||
} | ||
} | ||
|
||
export interface CustomOperation extends Operation { |
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.
Operation needs to be documented.
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.
LGTM
PR is currently pending changes. The code in its current state would resist currently planned changes in the testnet, increasing tech-debt. There are already plans to correct in this PR.
opts.chainId = '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673' | ||
return new Client('https://testnet.steem.vc', opts) | ||
|
||
opts.addressPrefix = 'TST' |
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.
Still need to figure out how we'll handle it in the other clients too.
I agree, we need to address this need in other clients as well, but that's not relevant here.
Added issue #5 to track our needs, and approving to keep the flow going.
Replaces #2 and #3 -- plus, it removes the account creation endpoint since the new testnet doesn't have one (yet).
FYI: test 51 can also fail with
This is due to insufficient RC when processing the 2nd op (comment_options)