-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[explorer] Render example nft #1695
Conversation
4c98a0b
to
703022a
Compare
@@ -495,7 +495,7 @@ impl WalletCommands { | |||
&Identifier::new("mint").unwrap(), | |||
&[], | |||
gas, | |||
&gas_budget.unwrap_or(1000), | |||
&gas_budget.unwrap_or(3000), |
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.
increase default budget to accommodate longer urls.
@@ -47,7 +47,7 @@ export type GasCostSummary = { | |||
|
|||
export type ExecutionStatus = | |||
| { Success: { gas_cost: GasCostSummary } } | |||
| { Failure: { gas_cost: GasCostSummary; error: string } }; | |||
| { Failure: { gas_cost: GasCostSummary; error: any } }; |
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.
@Jibz1 You will see a console error from the sdk in the main branch in the landing page. This PR will fix that.
@@ -11,7 +11,7 @@ export type AddressOwner = { AddressOwner: AddressBytes }; | |||
export type AnyVec = { vec: any[] }; | |||
export type JsonBytes = { bytes: number[] }; | |||
|
|||
const useLocal = true; | |||
const useLocal = 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.
We should add a yarn command to control this
Render the NFT created by the CLI correctly.
NOTE:
This PR only aims to make sure the data flow is correct. I will leave the UI layout improvement to @Andrew47 or @Jibz1 in separate PRs