Anybody else encountering a Big number issue in Delegating? #487
Replies: 22 comments 18 replies
-
That's the issue on backend |
Beta Was this translation helpful? Give feedback.
-
Sorry, it's trying to convert '1e24' to int. |
Beta Was this translation helpful? Give feedback.
-
Yeah. we currently load the denom metadata from chain repository, if metadata is loaded, the converter will work . will read it from chains later(many chains do not have correct denom metadata). |
Beta Was this translation helpful? Give feedback.
-
https://github.com/cosmos/chain-registry/blob/master/cosmoshub/assetlist.json I am still seeking a better solution for this. |
Beta Was this translation helpful? Give feedback.
-
No. You can submit as you want. I haven't figured out the best solution for now. But i am thinking changing the number to bignumber first.
…---Original---
From: ***@***.***>
Date: Thu, Aug 17, 2023 22:05 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [ping-pub/explorer] Anybody else encountering a Big number issuein Delegating? (Discussion #487)
Got it. By the way, we'd like to add our project to Ping.pub but because of this denom issue, we can only stake below 1000 because there's 18 zeroes after it and I saw that we need to test the delegation to make sure that it is working ok. So in our case, it is working except for the denom only showing aBCX while our main token is BCX. If we'll be able to select BCX then we don't need to enter the 18 zeroes and we can enter big numbers (more than 1000). Do we have to wait for the solution before we can submit our project?
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hey. Could be please add metadata in genesis.
https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-024-coin-metadata.md
Let me know if there is still the question
…---Original---
From: ***@***.***>
Date: Sat, Aug 19, 2023 00:16 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [ping-pub/explorer] Anybody else encountering a Big number issuein Delegating? (Discussion #487)
Thanks, we're using an older version of ping for now and it is working just fine.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, @benjnp Here's final solution for this issue: There are two ways to load denom metadata for unit converter.
Once you have the correct unit converter, you can enter up to a numeric quantity (10^23), which should be enough for most use cases. |
Beta Was this translation helpful? Give feedback.
-
Hi,
We got the denom working and it can now recognize our denoms properly but
I'm getting another error which is regarding account signing. I'm getting
this in delegation and sending or basically when it is time to sign. It
says that our chain was not found in the registry. Is there another way to
get around it?
[image: image.png]
Thanks and Regards,
Benjamin
…On Tue, Aug 22, 2023 at 10:31 AM ping ***@***.***> wrote:
Hi, @benjnp <https://github.com/benjnp>
Here's final solution for this issue:
There are two ways to load denom metadata for unit converter.
1. add denoms of your blockchain in genesis file, here's more
infomation:
https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-024-coin-metadata.md
2. register denoms on registry:
https://github.com/cosmos/chain-registry
Once you have the correct unit converter, you can enter up to a numeric
quantity (10^23), which should be enough for most use cases.
—
Reply to this email directly, view it on GitHub
<#487 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHV7NAV6GCIN2QG2EWY6WLTXWQKZLANCNFSM6AAAAAA3DX3KPQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
My apologies, it is working despite the message in the console. I just had
the keplr wallet selected a wrong account.
Thanks
…On Thu, Sep 7, 2023 at 11:43 PM Benjamin Pacheco ***@***.***> wrote:
Hi,
We got the denom working and it can now recognize our denoms properly but
I'm getting another error which is regarding account signing. I'm getting
this in delegation and sending or basically when it is time to sign. It
says that our chain was not found in the registry. Is there another way to
get around it?
[image: image.png]
Thanks and Regards,
Benjamin
On Tue, Aug 22, 2023 at 10:31 AM ping ***@***.***> wrote:
> Hi, @benjnp <https://github.com/benjnp>
>
> Here's final solution for this issue:
>
> There are two ways to load denom metadata for unit converter.
>
> 1. add denoms of your blockchain in genesis file, here's more
> infomation:
>
> https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-024-coin-metadata.md
> 2. register denoms on registry:
> https://github.com/cosmos/chain-registry
>
> Once you have the correct unit converter, you can enter up to a numeric
> quantity (10^23), which should be enough for most use cases.
>
> —
> Reply to this email directly, view it on GitHub
> <#487 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHV7NAV6GCIN2QG2EWY6WLTXWQKZLANCNFSM6AAAAAA3DX3KPQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm doing the tests for us to be able to add the chain to your testnet but
I got an error like this one below. Is this normal? I can't redelegate to
the same validator?
[image: image.png]
Also, in the test there's an item regarding withdrawing validator's
commission where is it located? Is it the same as withdraw rewards?
And by the way, is it normal that it wont work yet to Metamask staking
because our chain is not yet added to your system?
Thanks and Regards,
Benjamin
…On Thu, Sep 7, 2023 at 11:45 PM Benjamin Pacheco ***@***.***> wrote:
Hi,
My apologies, it is working despite the message in the console. I just had
the keplr wallet selected a wrong account.
Thanks
On Thu, Sep 7, 2023 at 11:43 PM Benjamin Pacheco ***@***.***> wrote:
> Hi,
>
> We got the denom working and it can now recognize our denoms properly but
> I'm getting another error which is regarding account signing. I'm getting
> this in delegation and sending or basically when it is time to sign. It
> says that our chain was not found in the registry. Is there another way to
> get around it?
>
> [image: image.png]
>
> Thanks and Regards,
> Benjamin
>
> On Tue, Aug 22, 2023 at 10:31 AM ping ***@***.***> wrote:
>
>> Hi, @benjnp <https://github.com/benjnp>
>>
>> Here's final solution for this issue:
>>
>> There are two ways to load denom metadata for unit converter.
>>
>> 1. add denoms of your blockchain in genesis file, here's more
>> infomation:
>>
>> https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-024-coin-metadata.md
>> 2. register denoms on registry:
>> https://github.com/cosmos/chain-registry
>>
>> Once you have the correct unit converter, you can enter up to a numeric
>> quantity (10^23), which should be enough for most use cases.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#487 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AHV7NAV6GCIN2QG2EWY6WLTXWQKZLANCNFSM6AAAAAA3DX3KPQ>
>> .
>> You are receiving this because you were mentioned.Message ID:
>> ***@***.***>
>>
>
|
Beta Was this translation helpful? Give feedback.
-
your image does not show up. could reload it.
It's on
You use |
Beta Was this translation helpful? Give feedback.
-
Hi,
I added the chain manually in Metamask then connect it to Ping and it
recognizes the balance when I go to Dashboard but it seems to be having
problems with signature.
My first error is this one below when I try to send tokens, it actually
prompted Metamask for the signature.
[image: image.png]
Then when I click on Sign, the error becomes like this one below
[image: image.png]
Also I noticed that the chain was not added in Metamask even when I use the
wallet helper, I have to manually add the chain to Metamask but it is fine
just not sure if it will help in troubleshooting.
Thanks and Regards,
Benjamin
…On Fri, Sep 15, 2023 at 8:05 AM ping ***@***.***> wrote:
I'm doing the tests for us to be able to add the chain to your testnet but
I got an error like this one below. Is this normal? I can't redelegate to
the same validator?
your image does not show up. could reload it.
Also, in the test there's an item regarding withdrawing validator's
commission where is it located? Is it the same as withdraw rewards?
It's on commission & reward panel in validator page.
And by the way, is it normal that it wont work yet to Metamask staking
because our chain is not yet added to your system?
You use Wallet Helper on bottom of left-side bar. to suggest you chain to
Metamask.
—
Reply to this email directly, view it on GitHub
<#487 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHV7NAQTIIWTXLGY5W7EZ5TX2OLTLANCNFSM6AAAAAA3DX3KPQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You screenshot not uploaded. I don't know what's the problem? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This is because you have issues on gas simulation. Please check the 'simulate' API.
And Snap only used to Cosmos not EVMOS based block chain
…---Original---
From: ***@***.***>
Date: Sat, Sep 16, 2023 22:24 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [ping-pub/explorer] Anybody else encountering a Big number issuein Delegating? (Discussion #487)
Maybe because I attached the image via email so this time I'll upload the image in github.
I added the chain manually in Metamask then connect it to Ping and it recognizes the balance when I go to Dashboard but it seems to be having problems with signature.
My first error is this one below when I try to send tokens, it actually prompted Metamask for the signature.
Then when I click on Sign, the error becomes like this one below
Also I noticed that the chain was not added in Metamask even when I use the wallet helper, I have to manually add the chain to Metamask but it is fine just not sure if it will help in troubleshooting.
By the way, since the error is in Metamask wallet and everything is working when Keplr is used, does it mean it can be submitted for PR?
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
the first screen shot is simulate error. |
Beta Was this translation helpful? Give feedback.
-
No. You can submit you chain if you want |
Beta Was this translation helpful? Give feedback.
-
Thanks, by the way is ping.pub having some updates? It has been inaccessible for me for the past few days. I also tried different connection and devices but to no avail. |
Beta Was this translation helpful? Give feedback.
-
Oh right, I tried using VPN and it worked. I'm from the Philippines. |
Beta Was this translation helpful? Give feedback.
-
Hi, Just following up on this. Thanks |
Beta Was this translation helpful? Give feedback.
-
Oh,man, you have to use Pull Request. |
Beta Was this translation helpful? Give feedback.
-
Hi, For the signing issue when delegating using Metamask, the error is this Do you know the solution that we can do on our end? Will the Cosmos Registry registration solve this? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi,
We're trying to run Ping for our testnet project but in the current version it uses the base denom in delegating which means that in order to delegate let's say 100K tokens, we'll have to enter so many zeroes causing an error like this one below "cannot unmarshal big int..."
Anybody got a solution on this one?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions