solana-foundation / developer-content

Collection of Developer content for exploring, learning, and building in the Solana ecosystem.
https://solana.com/developers
84 stars 101 forks source link

Document `replacementBlockhash` in return type of `simulateTransaction` #202

Open steveluscher opened 2 months ago

steveluscher commented 2 months ago

Problem

  1. This is no longer a fact when replaceRecentBlockhash is true https://github.com/solana-foundation/developer-content/blob/734fdc36292e90e295a62e011ef19351f90078ab/docs/rpc/http/simulateTransaction.mdx?plain=1#L21-L23
  2. The replacementBlockhash is missing from here https://github.com/solana-foundation/developer-content/blob/734fdc36292e90e295a62e011ef19351f90078ab/docs/rpc/http/simulateTransaction.mdx?plain=1#L107-L143

See https://github.com/anza-xyz/agave/pull/380.