Todas as lições · Wallets and signing · Começa aqui · Glossário
EVM owners may hold Omnilock lock args with auth flag 0x12, not only 0x01PráticoDe uma correção
De uma correção · Verificação: certa · Verificada em 2026-11-19
When mapping an Ethereum address to the CKB lock scripts it controls, match Omnilock args 0x12 || addr20 || 0x00 (Ethereum displaying, used by CCC's EVM signer for new addresses) as well as 0x01 || addr20 || 0x00 and PW Lock args = addr20. Otherwise deposits held by CCC created EVM addresses are not recognised. The commit notes this is still pending confirmation in a wallet proof of concept.
Porque importa: Without the 0x12 form, an EVM signature from a user whose deposit sits under a CCC-created Omnilock address fails the owner-lock match and is rejected, so that deposit is never counted.
Padrão
v.push(omni.with_args(omni_args(OMNILOCK_AUTH_ETHEREUM_DISPLAYING)));Tirado do commit, encurtado.
Um teste mudou no mesmo commit
Está ao lado da correcção. Nós não o corremos.
- poshboytl/omavote:
crates/omavote-core/tests/vectors.rs
- Conceitos
- Witnesses and signatures, Login and authorization
- Evidência
- De uma correção: de um projeto, verificada contra o commit
- Vista pela primeira vez
- 2026-10-08
- Última mudança
- 2026-10-08
- Última verificação
- 2026-11-19
- Verificação contra o commit
- certa: a lição sai do commit e continua a valer no código de hoje
Fontes (1)
- 2026-10-08 · poshboytl/omavote · mais deste projeto
Mais sobre Wallets and signing
- JoyID sub key membership is checked through the CoTA aggregator
- Binding an off-chain lock proof to the live cell deps it ran with
- JoyID sub key signatures depend on the live CoTA cell dep holding the sub key root
Manténs um projeto de onde esta lição veio? Confirma ou corrige
Citar esta lição
LusoCryptoLabs, "EVM owners may hold Omnilock lock args with auth flag 0x12, not only 0x01", CKB lessons, https://pulse.lusocryptolabs.com/learned/wallets/evm-owners-may-hold-omnilock-lock-args-with-auth-flag-0x12-n, CC BY 4.0, last changed 2026-10-08.