You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's changed:
- Switch to the deployment information of Omnilock
- args: append 00. It is the omni lock flag byte, which indicate there's
no advanced omni lock features been used.
- `WitnessArgs.lock` size: 65 to 85, this is the size of a
`OmnilockWitnessLock` to only
save a 65-byte signature.
- witness: instead of storing the 65-byte signature directly into
`WitnessArgs.lock`, pack it into a `OmnilockWitnessLock`.
Omnilock Contract Error Codes For Reference:
- 8: args format is wrong
- 5: `WitnessArgs.lock` is not a valid `OmnilockWitnessLock`
[An example deposit in
testnet](https://pudge.explorer.nervos.org/transaction/0x7bc9bd9a60852bf85d7142041867fb3d92b44a0d5821835fef9b1978442e84c0)
Omnilock info:
| parameter | value |
| ----------- |
-------------------------------------------------------------------- |
| `code_hash` |
0xf329effd1c475a2978453c8600e1eaf0bc2087ee093c3ee64cc96ec6847752cb |
| `hash_type` | `type` |
| `tx_hash` |
0xff234bf2fb0ad2ab5b356ceda317d3dee3efb2c55b9427ef55d9dcbf6eecbf9f |
| `index` | `0x0` |
| `dep_type` | `code` |
Related PRs:
nervosnetwork/ckb-production-scripts#75Closes#12
No description provided.
The text was updated successfully, but these errors were encountered: