Skip to content

rosetta-icp-2.1.11

Choose a tag to compare

@mbjorkqvist mbjorkqvist released this 02 Dec 16:59
· 1 commit to master since this release
884b0a6

Fixed

  • Bound the Candid decoding of canister method arguments in construction/parse and construction/submit (#12108).
  • construction/payloads now addresses neuron management to the governance canister this instance was configured with (--governance-canister-id), as construction/derive already did, instead of always to the mainnet one (#12294).
  • Require the envelopes of a signed transaction to differ only in their ingress expiry, and each of them to pair an update with the read-state call that reads that update's own result. construction/submit also refuses a transaction, before submitting any of it, if the IC would reject the read-state call of any of its unexpired envelopes; of a read-state call that carries a delegation or uses a canister signature, only that its sender is derived from its public key is checked, and its signature and any delegation chain are left to the IC, so that no transaction the IC accepts is refused. Of the envelopes valid at submission, construction/submit now sends the one that expires last, so that its read-state call stays valid while it polls for the result. construction/parse, construction/hash and construction/submit described the first envelope while the submit path broadcasts whichever one is currently valid, and a mismatched or rejected read-state call made construction/submit report a call as failed while it was executing, inviting a retry of a transaction that had already gone through (#12296).
  • Require a signed transfer to be addressed to the ledger this instance serves, to call its transfer method, and to debit the sender's default account. A transfer drawing on a subaccount was displayed as debiting the default account, and a transfer addressed to another ledger was displayed in this ledger's token (#12297).
  • Require the neuron index, controller and command that construction/parse, construction/hash and construction/submit report for a neuron request to be derivable from, and consistent with, the signed payload. A request whose metadata cannot be confirmed against what is being signed is now rejected rather than described unverified (#12301).
  • construction/hash returns the neuron management hash for a transaction that refreshes voting power instead of rejecting it (#12301).
  • Limit the number of requests times ingress expiries in construction/payloads and construction/combine to 2,880, i.e. 4 requests over a 24h ingress window, and the size of each canister update to 4 KiB, and reject repeated canister updates. construction/combine also limits the size of signatures and public keys and requires strictly increasing ingress expiries (#12082).
  • Cap the limit of /search/transactions requests to the maximum of 10,000 transactions per request (#11892).
  • Bound the cardinality of HTTP metric labels: requests to unknown paths are recorded under a single UNMATCHED endpoint label and non-standard HTTP methods under a single OTHER method label (#12084).

DockerHub Link