OpenCerts / admin-website

Reference UI for viewing and administration of certificates
https://opencerts.github.io/certificate-web-ui/
Apache License 2.0
9 stars 11 forks source link

Unable to revoke OpenCert file #335

Closed seab-gov closed 3 years ago

seab-gov commented 3 years ago

Hi Helpdesk,

We wanted to report on the issue when trying to revoke OpenCert file. After clicking on Revoke button, the page refreshed and confirmation done in the Nano Ledger to confirm the revoke, however, there are no indication that it is successfully revoked.

Attached is the screen capture for your reference. image

Nebulis commented 3 years ago

Could you share your document store ? plain text :)

ChenRen93 commented 3 years ago

Hi seab-gov. From https://etherscan.io/address/0xe4a94ef9c26904a02cd6735f7d4de1d840146a0f, I see that you have 4 pending transaction. The transaction will take some time to be processed, you could increase the gas price speed up the process in future.

Nebulis commented 3 years ago

The transaction has been mined

seab-gov commented 3 years ago

hi SiaChenRen, When you said 4 transactions, do you mean that we will be charged 4 times for the same hash no?

hi Nebulis, When you said it has been mined, does it mean that the revoke transaction is completed?

Nebulis commented 3 years ago

Hi,

You can check https://etherscan.io/address/0xe4a94ef9c26904a02cd6735f7d4de1d840146a0f, the 4th transaction from the top worked, the 3 following failed because the document was already revoked.

Yes you have been charged 4 times (for each transaction)

ChenRen93 commented 3 years ago

hi @seab-gov,

Yes, you will be charged 4 times for the same hash. However, the term of the gas price will be different as they are charged based on the computational power. The first transaction is executed completely and revoke the transaction compared to the next three transactions that failed partially. This is the reason that the gas fee for the first transaction has a higher gas fee compared to the next three transactions that failed (gas fee are charged till the point where error occurs)