Skip to content
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

The packet contract is deployed here, and a PoolRejectedRBF error occurs. Then it is resent and an invalid cell is reported. #567

Open
15168316096 opened this issue Oct 20, 2023 · 4 comments
Labels

Comments

@15168316096
Copy link

Bug Report

The packet contract is deployed here, and a PoolRejectedRBF error occurs. Then it is resent and an invalid cell is reported

Current Behavior

Expected Behavior

I expect the ckb-cli deployment transaction get_cell will not get the death cell.

Environment

  • CKB version: latest develop branch
  • Chain: /
  • Operating system: MacOS 12.1
  • Arch: x64
  • Installation: Built from source

Additional context/Screenshots

This bug can reproduced by these steps:


ckb_cli_deploy:
 git clone https://github.com/nervosnetwork/ckb-cli.git
 cd ckb-cli
 cargo install --path . -f --locked
 export API_URL=https://testnet.ckbapp.dev/
    
ckb_contract_deploy:
 git clone -b chore/contract-deployment https://github.com/synapseweb3/forcerelay/
 cd forcerelay/tools/ibc-test/contracts/deployment
 mkdir tx && mkdir migration
 ./upload.sh connection https://testnet.ckbapp.dev/ ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq2v6vh7fgskk26raed4r6sv6xneyq9ls7cfywmu9
   ./upload.sh channel https://testnet.ckbapp.dev/ ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq2v6vh7fgskk26raed4r6sv6xneyq9ls7cfywmu9
   ./upload.sh packet https://testnet.ckbapp.dev/ ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq2v6vh7fgskk26raed4r6sv6xneyq9ls7cfywmu9

#  when deploying the packet contract for the first time, it will prompt Send transaction error: jsonrpc error: Server error: PoolRejectedRBF: RBF rejected: Tx's current fee is 290221, expect it to >= 725776 to replace old txs, and then resend the transaction. Prompt Invalid cell status: unknown, out_point: OutPoint { tx_hash: Byte32(0xdeaa7f2ffc5cad4af53559c66b39643ad241b8db3317c847fe2efc1e2c2a7819), index: Uint32(0x01000000) }, found query https://testnet.ckbapp.dev / The get_cell interface does not contain OutPoint { tx_hash: Byte32 (0xdeaa7f2ffc5cad4af53559c66b39643ad241b8db3317c847fe2efc1e2c2a7819), index: Uint32(0x01000000) } This, but the transaction constructed by ckb-cli contains this, using the local index?
@15168316096
Copy link
Author

@eval-exec please help confirm the processing logic of getcell and OffchainTransactionDependencyProvider

@eval-exec
Copy link
Collaborator

eval-exec commented Oct 20, 2023

@eval-exec please help confirm the processing logic of getcell and OffchainTransactionDependencyProvider

How about adding sleep ${N} between these ./upload.sh?

@15168316096
Copy link
Author

Before deploying the contract, upload.sh was executed and waited for several minutes. The next contract was sent after the previous contract was deployed successfully.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants