CKB Pulse
Lições

O que a CKB aprendeu

Começa aqui · Glossário · Testa-te · Feed

As lições estão escritas em inglês, por isso pesquise em inglês.

LusoCryptoLabs/vortx-swap

Lições de LusoCryptoLabs/vortx-swap

github.com/LusoCryptoLabs/vortx-swap

Manténs este projeto? Confirma as lições dele num só issue

1 lições encontradas. Todas as lições

Enable molecule bytes_vec so ckb-std scripts contain no atomic instructionsPráticoVerificada pelo dono

With ckb-std 0.16, molecule's default Bytes uses the external bytes crate, which emits lr.d/sc.d atomic instructions that the CKB VM rejects, so the built lock script was not executable on chain. Adding molecule 0.8 with default-features = false and features = ["bytes_vec"] to the script crate makes feature unification swap in molecule's Vec-backed Bytes, and the commit reports the artifact then had zero atomic instructions.

#Other · Fontes (2) · 2026-10-22

Texto sob CC BY 4.0: dá crédito à LusoCryptoLabs, CKB lessons, com uma ligação para a lição. JSON · Queres que uma lição seja mudada ou retirada? Abre um issue.