Skip to content

feat: remove public bytecode from ts ContractArtifact#12653

Merged
MirandaWood merged 8 commits intomasterfrom
mw/contract-verification
Mar 12, 2025
Merged

feat: remove public bytecode from ts ContractArtifact#12653
MirandaWood merged 8 commits intomasterfrom
mw/contract-verification

Conversation

@MirandaWood
Copy link
Contributor

@MirandaWood MirandaWood commented Mar 11, 2025

After discussions from #12081 this PR:

  • Removes public bytecode from the ts ContractArtifact class (it is not required and carries around sometimes very large bytecode)
  • Removes optional aztecNrVersion
  • Updates artifact_hash documentation

@MirandaWood MirandaWood self-assigned this Mar 11, 2025
Comment on lines +343 to +346
// TODO(MW): below is WIP
/** The public functions of the contract, excluding dispatch. */
publicFunctions: FunctionAbi[];

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undecided whether to keep this property or just use .functions and leave the public bytecode field empty (unless it's public_dispatch). This will probably change!!

@MirandaWood MirandaWood changed the title feat: WIP remove public bytecode from ts ContractArtifact feat: remove public bytecode from ts ContractArtifact Mar 12, 2025
@MirandaWood MirandaWood requested a review from LeilaWang March 12, 2025 11:35
@MirandaWood MirandaWood merged commit 6345158 into master Mar 12, 2025
6 checks passed
@MirandaWood MirandaWood deleted the mw/contract-verification branch March 12, 2025 13:31
sklppy88 pushed a commit that referenced this pull request Mar 12, 2025
🤖 I have created a new Aztec Packages release
---


##
[0.80.0](v0.79.0...v0.80.0)
(2025-03-12)


### ⚠ BREAKING CHANGES

* disable PXE concurrency
([#12637](#12637))

### Features

* add inspect command to bootstrap
([#12641](#12641))
([2f0c527](2f0c527))
* disable PXE concurrency
([#12637](#12637))
([2716898](2716898))
* remove public bytecode from ts ContractArtifact
([#12653](#12653))
([6345158](6345158))


### Bug Fixes

* **cli:** fix tag resolution for `aztec update --contract`
([#12657](#12657))
([b58c123](b58c123))
* **docs:** Fix link to source code after code snippets
([#12658](#12658))
([8bc5daf](8bc5daf))
* fix yarn-project typos in release
([#12652](#12652))
([93a6f4e](93a6f4e))
* handling undefined block number in sync data provider txe
([#12605](#12605))
([b764a9a](b764a9a))
* Inject blob sink client config to archiver start
([#12675](#12675))
([e2e857b](e2e857b))
* Load config from env on archiver start
([#12662](#12662))
([79579f3](79579f3))


### Miscellaneous

* aztec start should use pxe proving by default
([#12676](#12676))
([80cd840](80cd840)),
closes
[#12677](#12677)
* downgrade undici so its engine spec is compatible
([#12659](#12659))
([4f815ea](4f815ea)),
closes
[#12645](#12645)
* fix warning in aztec-nr
([#12647](#12647))
([3831bab](3831bab))
* Merge is part of verification queue
([#12612](#12612))
([e324582](e324582))
* Remove roots arg on __compute_fracs in blob lib
([#12663](#12663))
([8ec910b](8ec910b))
* replace relative paths to noir-protocol-circuits
([f684528](f684528))
* test cli upgrade
([#12506](#12506))
([fc728f3](fc728f3))


### Documentation

* **feat:** Aztec js intro page
([#11804](#11804))
([12d8f3f](12d8f3f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Thunkar added a commit that referenced this pull request Mar 12, 2025
Thunkar added a commit that referenced this pull request Mar 13, 2025
Broken after #12653

---------

Co-authored-by: MirandaWood <miranda@aztecprotocol.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants