Fehler: Programmbereitstellung fehlgeschlagen. Transaktionssimulation fehlgeschlagen: Fehler bei der Verarbeitung von Anweisung 0: Kontodaten zu klein für Anweisung [3 Protokollmeldungen]
Sie müssen Ihren Programmumfang erweitern, wenn Sie Änderungen daran vorgenommen haben. Dies ist ab der CLI-Version 1.18 > möglich Um diesen Lauf zu beheben Solana-Programm erweitert PROGRAM_ADDRESS_HERE 20000 -u d -k ~/...
Zielaufträge optional bei Raydium-Verkaufsanweisungen?
Ja, das Konto amm_target_orders ist auskommentiert und wird daher nicht zum Aufrufen der swap_base_out-Anweisung benötigt. Da das Raydium AMM Open Source ist, können Sie dies anhand des Quellcodes bestätigen: ... let am...
Wie kann ich das Konto im Rust-Frontend deserialisieren?
Das Problem mit dem fehlenden #[max_len(32)] besteht darin, dass das serialisierte Konto eine mit 0 Bytes aufgefüllte Zeichenfolge enthält, um 32 Bytes zu ergeben, während die Deserialisierungsstruktur versucht, nur so v...
Best Practice für Solana/Anchor-Autorisierung für ein modulares Multiprogrammsystem (gemeinsame Rollen zwischen Programmen, CPI)
Repo scheint privat zu sein: Jede der Optionen hat ihre Vor- und Nachteile. Sie können also eine Hybrid-Implementierung zur Abhilfe erstellen. Hier sind einige der Multiprogrammanwendungen, die Sie übernehmen können: Ma...
Mut-Einschränkungsfehler bei Raydium
Nach langem Ringen und Wechseln zwischen 100 LLMs habe ich das Problem endlich gefunden. Das Problem bestand darin, dass mein Vertrag selbst Eingabekontotypen aus einer veralteten IDL von Launchlab generierte, in der wri...
Hilfe in der neuen Version von Pinocchio
Pinocchio verfügt in der neuesten oder einer beliebigen Version über keine Hilfsfunktionen zur Validierung dieser. Da Sie erwähnt haben, dass Sie dies für Blueshift tun, werden diese auch manuell implementiert.
InstructionFallbackNotFound. Fehlernummer: 101. Fehlermeldung: Fallback-Funktionen werden nicht unterstützt
Sie müssen den Anweisungsdiskriminator für die Daten Ihrer Transaktion angeben, wie von Ademola erwähnt. Sie können den Befehlsdiskriminator abrufen und ihn dann in den ersten 8 Bytes an Ihre Daten anhängen. Befehlsdiskr...
Sind Ketten von 26 unbestätigten Transaktionen durch das Wallet in Bitcoin Core 31.0 verboten?
Sie können eine Kette von mehr als 25 unbestätigten Transaktionen im Mempool haben, aber das Wallet erzwingt immer noch ein Kettenlimit von 25 Transaktionen. Durch Ausführen von bitcoind -help-debug: ... -limitdescendan...
Was ist INIT_CODE_HASH und wie wird es in DeFi-Smart-Verträgen berechnet/verwendet?
Der Init-Code-Hash ist im Grunde der keccak256-Hash des Vertragsbytecodes. Verwendung von Init-Code Init-Code-Hash ist erforderlich, da die Adressberechnung vom Hashing abhängt der Init-Code. Init-Code ist der Code, der...
Warum ist konzentrierte Liquidität kapitaleffizient?
Konzentrierte Liquidität ist kapitaleffizienter, da mit zunehmender Konzentration die gleiche Menge an investierten Token zu einer größeren Liquiditätstiefe führt. Aus dem Blog von Uniswap: Durch die Konzentration ihrer...
Erläuterungen zum Curve Voting Escrow
Das Curve DAO-Whitepaper war für mich sehr hilfreich, um den Code zu verstehen. Ich empfehle wirklich, damit zu beginnen: https://curve.fi/files/CurveDAO.pdf Konkret dieser Teil:
What is DeFi decentralized finance?
Decentralized Finance (DeFi) is the movement that leverages decentralized networks to transform old financial products into trustless and transparent protocols that run without intermediaries. Some may prefer to call D...
Why do these two Ethereum transactions have different gas usages? Can't explain it from the GETH EVM debug traces
One of the reason for the gas cost not being the same would be that one account did not have any usdc before the transaction and the other already had some. It cost more gas to set a 0 value to non zero than non zero to...
Can ACINQ (Phoenix wallet peer) steal my funds during a recovery?
Nothing. If you have lost the last state and are recovering it from your peer then you are trusting it, no matter if it's encrypted or not. They could lie and continue operating (or close) from a state of the channel in...
Is it safe to use a private key for an existing singlesig wallet as one of the keys for a new multisig wallet?
The single-sig wallet will still work. Each key can be used in multiple wallets (singlesig or multisig) without interfering with the others. However, for a more secure multisig setup, it's usually better to generate sepa...
What does it mean that the security of Bitcoin public keys and 256-bit ECDSA is 128 bits?
What does it mean that the security of 256-bit ECDSA, and therefore Bitcoin keys, is 128 bits? I mean, if I have approximately 2^256 possible points on the elliptic curve (thus possible public keys), and therefore privat...
Can a blockchain's transactions be reversed?
No, as far as we know, Ethereum transactions cannot be reversed. The DAO hack exploited a badly coded smart contract. The smart contract runs on top of Ethereum, so there are two layers involved here: the Ethereum blo...
Receiving donation on a bitcoin address and security issues of reusing the same address
For a blog that only receives occasional small amounts you probably shouldn't worry too much about it. However, if you plan to scale up, here are some things to consider: One issue with using the same address for all tr...
How can vulnerabilites in bitcoin be responsibly reported?
Information on current (ie, not past/public/resolved) security issues should be sent to the private [email protected] mailing list. The SourceForge list is now obsolete and defunct. If you're using t...
Is 24 words seed safer than 12 words in terms of bruteforcing the private key
Regardless of whether you have a passphrase or not 12 words is just as secure as 24 words because the resulting public key will still require 2^128 iterations to compute its private key using the most efficient algorithm...