diff --git a/CHANGELOG.md b/CHANGELOG.md index edd7d8b7696..d71d1a92c8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -500,7 +500,7 @@ ### Documentation -* Documenting issue with `context.header` ([#3565](https://github.com/AztecProtocol/aztec-packages/issues/3565)) ([1237e26](https://github.com/AztecProtocol/aztec-packages/commit/1237e2658d90114c03a6b838cbab80005aa3a661)) +* Documenting issue with `context.block_header` ([#3565](https://github.com/AztecProtocol/aztec-packages/issues/3565)) ([1237e26](https://github.com/AztecProtocol/aztec-packages/commit/1237e2658d90114c03a6b838cbab80005aa3a661)) ## [0.16.2](https://github.com/AztecProtocol/aztec-packages/compare/aztec-packages-v0.16.1...aztec-packages-v0.16.2) (2023-12-05) diff --git a/docs/docs/developers/contracts/syntax/context.mdx b/docs/docs/developers/contracts/syntax/context.mdx index 9b14aaa4501..1a742d5b285 100644 --- a/docs/docs/developers/contracts/syntax/context.mdx +++ b/docs/docs/developers/contracts/syntax/context.mdx @@ -75,14 +75,10 @@ The call context contains information about the current call being made: Another structure that is contained within the context is the Header object. In the private context this is a header of a block which used to generate proofs against. -In the public context this is a header of the block in which the transaction is to be included. +In the public context this TBD TODO(#4262) #include_code header /yarn-project/noir-protocol-circuits/src/crates/types/src/header.nr rust -:::info -The header can be of latest block only in the public context because only public transactions are being executed by the sequencer and therefore only public transactions can have this information. -::: - ### Contract Deployment Data Just like with the `is_contract_deployment` flag mentioned earlier. This data will only be set to true when the current transaction is one in which a contract is being deployed.