Skip to content

Beta release 1.0.0#83

Merged
DimaStebaev merged 109 commits into
betafrom
beta-release-1.0.0
May 20, 2026
Merged

Beta release 1.0.0#83
DimaStebaev merged 109 commits into
betafrom
beta-release-1.0.0

Conversation

@DimaStebaev
Copy link
Copy Markdown
Contributor

No description provided.

eduv09 and others added 30 commits February 4, 2026 15:25
Hide 0 balance after user's first confidential update
Encrypt balance on public key registration
Allow registration and arbitrary change of view keys
Start using bite-solidity library
Copilot AI review requested due to automatic review settings May 18, 2026 13:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR prepares the confidential token project for a 1.0.0 beta release, replacing local BITE/precompile mocks with the shared @skalenetwork/bite-solidity dependency and expanding confidential token, wrapper, historic-view, and encrypted EIP-3009 functionality.

Changes:

  • Adds historic transfer disclosure, encrypted EIP-3009 flows, viewer-key handling, gas-token fee terminology, and wrapper async withdrawal behavior.
  • Updates tests, docs, scripts, dependency/compiler configuration, and release ABI naming for the beta.
  • Removes local BITE/mock/precompile Solidity implementations now sourced from the external BITE package.

Reviewed changes

Copilot reviewed 52 out of 54 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
VERSION Bumps release version to 1.0.0.
package.json Adds BITE/dependency compiler tooling and updates scripts/dependencies.
yarn.lock Locks new dependency/compiler and solhint versions.
hardhat.config.ts Enables dependency compiler for BITE mock contracts.
contracts/ConfidentialToken.sol Adds BITE package integration, viewer keys, gas-token accounting, historic views, encrypted transfers, and async stale handling.
contracts/ConfidentialWrapper.sol Adds async withdraw-to recipient handling and revised pending mint accounting.
contracts/HistoricView.sol Adds historic transfer authorization/storage helper library.
contracts/eip3009/ConfidentialEIP3009.sol Adds encrypted EIP-3009 authorization support.
contracts/eip3009/EIP3009.sol Updates pragma for new compiler range.
contracts/eip3009/EIP712Utils.sol Updates pragma for new compiler range.
contracts/MintableConfidentialToken.sol Updates pragma and adds burn support.
contracts/AccessManager.sol Updates pragma for new compiler range.
contracts/errors.sol Updates pragma and adds decryption format error.
contracts/interfaces/IConfidentialToken.sol Expands public interface for gas token, viewer, encrypted transfer, and historic view APIs.
contracts/interfaces/IConfidentialWrapper.sol Updates wrapper recovery documentation/API comments.
contracts/interfaces/IMintableERC20.sol Adds burn to mintable ERC20 interface.
contracts/test/TestERC20.sol Adds burn and pausable transfer behavior for wrapper tests.
contracts/types.sol Removes local PublicKey type in favor of BITE dependency.
contracts/Precompiled.sol Removes local precompile wrapper in favor of BITE dependency.
contracts/interfaces/bite/IBiteSupplicant.sol Removes local BITE interface in favor of dependency.
contracts/test/BiteMock.sol Removes local mock in favor of dependency compiler.
contracts/test/CallbackSender.sol Removes local callback mock in favor of dependency compiler.
contracts/test/EncryptECIESMock.sol Removes local ECIES mock in favor of dependency compiler.
contracts/test/EncryptTEMock.sol Removes local TE mock in favor of dependency compiler.
contracts/test/PrecompiledMock.sol Removes local base mock in favor of dependency compiler.
contracts/test/SubmitCTXMock.sol Removes local submit mock in favor of dependency compiler.
test/tools/utils.ts Adds ECIES/public-key/decode helpers for tests/scripts.
test/tools/helpers.ts Updates balance helper for ECIES viewer decryption.
test/tools/fixtures.ts Renames ETH balance variables to gas token terminology.
test/EIP3009.ts Updates setup for gas token funding and viewer keys.
test/ConfidentialEIP3009.ts Adds encrypted EIP-3009 test coverage.
test/ConfidentialWrapper.ts Expands wrapper pending mint, release, stale callback, and withdraw tests.
scripts/generateAbi.ts Renames generated ABI artifact prefix.
scripts/deployAndTestMintableCnfToken.ts Adds deploy/test script for mintable confidential token flows.
README.md Rewrites project README for beta functionality and usage.
docs/ConfidentialToken.md Regenerates docs for expanded token API.
docs/ConfidentialWrapper.md Regenerates docs for wrapper behavior.
docs/HistoricView.md Adds generated docs for historic view library.
docs/Precompiled.md Updates generated precompile docs.
docs/MintableConfidentialToken.md Adds burn documentation.
docs/errors.md Adds decryption format error docs.
docs/eip3009/ConfidentialEIP3009.md Adds generated docs for encrypted EIP-3009.
docs/interfaces/IConfidentialToken.md Regenerates expanded token interface docs.
docs/interfaces/IConfidentialWrapper.md Updates wrapper interface docs.
docs/interfaces/IMintableERC20.md Adds burn interface docs.
slither.config.json Excludes dependency-compiled contracts from Slither filtering.
cspell.json Excludes generated dependency contracts and adds doc word exceptions.
.solhintignore Ignores dependency-compiled contracts.
.gitignore Ignores dependency-compiled contracts.
.github/workflows/publish.yml Updates published ABI artifact name.
.github/copilot-instructions.md Adds repository-specific review guidance.
.github/agents/cnf-token-auditor.agent.md Adds Solidity audit agent instructions.
.github/agents/agent-docs/BITE.md Adds BITE auditor context documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread contracts/ConfidentialToken.sol Outdated
Comment thread contracts/ConfidentialToken.sol
Comment thread README.md
Comment thread .github/agents/agent-docs/BITE.md Outdated
Comment thread .github/agents/agent-docs/BITE.md Outdated
Comment thread .github/agents/agent-docs/BITE.md Outdated
Comment thread .github/agents/agent-docs/BITE.md Outdated
Comment thread .github/agents/agent-docs/BITE.md Outdated
Comment thread .github/agents/agent-docs/BITE.md Outdated
Comment thread README.md Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

❌ Patch coverage is 97.50000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.84%. Comparing base (ef34df8) to head (fb676e4).

Files with missing lines Patch % Lines
contracts/ConfidentialToken.sol 97.40% 5 Missing ⚠️
contracts/ConfidentialWrapper.sol 92.30% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             beta      #83      +/-   ##
==========================================
- Coverage   99.08%   97.84%   -1.25%     
==========================================
  Files           6        7       +1     
  Lines         219      417     +198     
  Branches       53       95      +42     
==========================================
+ Hits          217      408     +191     
- Misses          2        9       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DimaStebaev DimaStebaev requested a review from eduv09 May 20, 2026 12:02
@DimaStebaev DimaStebaev merged commit 63818b2 into beta May 20, 2026
4 of 7 checks passed
@DimaStebaev DimaStebaev deleted the beta-release-1.0.0 branch May 20, 2026 12:05
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants