Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

提交挖矿的第一个tx和第二个tx的GAS不一样,第二个tx GAS比第一个少,导致第二个TX不能comfirm #46

Open
Tracked by #51
yuemingfei opened this issue Jan 18, 2024 · 7 comments
Assignees

Comments

@yuemingfei
Copy link

image

@yuemingfei yuemingfei changed the title 提交挖矿的第一个tx和第二个tx的GAS不一样,第一个tx GAS比第二次少,导致第二个TX不能comfirm 提交挖矿的第一个tx和第二个tx的GAS不一样,第二个tx GAS比第一个少,导致第二个TX不能comfirm Jan 18, 2024
@AurevoirXavier AurevoirXavier self-assigned this Jan 18, 2024
@Mitochondria7
Copy link

similar problem here. max-fee argument didn't work as expected. For example, when I set --max-fee=75, it only gave commit tx fee at 63, reveal tx fee at 53.

It seems to match the mempool high priority fee, which is close to the reveal tx fee when the mint is finished. However, this feature might cause trouble when the chain is busy.

Hopefully it can run based on the fee we set, instead of matching the mempool automatically

@yuemingfei
Copy link
Author

第一个交易confirm是不是就代表打成功了?这样的话,第二个交易的gas就没有必要那么高,除非很着急。

@Mitochondria7
Copy link

第一个交易confirm是不是就代表打成功了?这样的话,第二个交易的gas就没有必要那么高,除非很着急。

no you need both tx confirmed for a successful mint. That's why current setting is causing trouble. Generally the reveal tx fee is 20% lower than the first tx and can't be confirmed by the latest block

@GeorgeLyu6
Copy link

It is a trouble caused by official. If you used the code offered by official you would found the issue.

@yuemingfei
Copy link
Author

第一个交易confirm是不是就代表打成功了?这样的话,第二个交易的gas就没有必要那么高,除非很着急。

no you need both tx confirmed for a successful mint. That's why current setting is causing trouble. Generally the reveal tx fee is 20% lower than the first tx and can't be confirmed by the latest block

第一个tx hash startwith“000000”是符合挖矿规则的,理论上这个交易confirm就代表挖矿结束,ACR20 Token已经被挖出。不知道对不对?

@superWifi
Copy link

第一个交易confirm是不是就代表打成功了?这样的话,第二个交易的gas就没有必要那么高,除非很着急。

no you need both tx confirmed for a successful mint. That's why current setting is causing trouble. Generally the reveal tx fee is 20% lower than the first tx and can't be confirmed by the latest block

第一个tx hash startwith“000000”是符合挖矿规则的,理论上这个交易confirm就代表挖矿结束,ACR20 Token已经被挖出。不知道对不对?

明显不对,这样就打废了

@AurevoirXavier
Copy link
Member

It is a trouble caused by official. If you used the code offered by official you would found the issue.

I believe atomicals-js shares this issue.

@miralandlabs proposed a solution at #50 (comment), though I'm uncertain about the accuracy of this fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants