Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
75b1e45 to
7e61fb2
Compare
7e61fb2 to
058f05d
Compare
058f05d to
945c2a3
Compare
945c2a3 to
0885e87
Compare
0885e87 to
4f93d20
Compare
4f93d20 to
d6d8e2e
Compare
d6d8e2e to
b055125
Compare
b055125 to
bcf837b
Compare
bcf837b to
535b535
Compare
535b535 to
27a7fc2
Compare
27a7fc2 to
6949bfb
Compare
6949bfb to
9345813
Compare
9345813 to
1da39ac
Compare
1da39ac to
4a3bae2
Compare
4a3bae2 to
9dd36c1
Compare
9dd36c1 to
e5591df
Compare
e5591df to
511c576
Compare
511c576 to
ca0e486
Compare
ca0e486 to
7e5ac20
Compare
7e5ac20 to
3435b78
Compare
3435b78 to
a83699d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@cofhe/hardhat-3-plugin@0.5.0
Minor Changes
50bb3e4: Decode custom errors from deployed mock contracts by name instead of raw hex selectors.
@cofhe/mock-contractststore/tload) inMockACL.solwith block-number-based storage, removing the EVMcancunrequirement and lowering the Solidity pragma to>=0.8.19.bytecodeanddeployedBytecodefields from published artifacts — they are now sourced at runtime from Hardhat's own compilation output.@cofhe/hardhat-pluginTASK_COMPILE_SOLIDITY_GET_SOURCE_PATHSto inject a stub file that imports all mock contracts, so Hardhat compiles them and registers their artifacts. This lets the Hardhat network decode mock contract custom errors by name (e.g.PermissionInvalid_Expired) rather than raw hex.hre.artifacts.readArtifact()instead of the pre-built artifact bundle.@cofhe/hardhat-3-pluginhre.solidity.build()during thehre.createdhook to compile mock contracts once at startup, enabling the EDR to decode their custom errors by name.deployFixedanddeployVariablenow source bytecode fromhre.artifacts.readArtifact(), ensuring the deployed bytecode matches Hardhat's build info — which is required for error decoding on variable-address contracts likeMockACL.Patch Changes
@cofhe/hardhat-plugin@0.5.0
Minor Changes
f78beb7: Add
@cofhe/hardhat-3-pluginand@cofhe/foundry-pluginpackages.@cofhe/hardhat-3-plugin— Hardhat 3 plugin with the same mock contract deployment,network.cofheAPI, logging, and faucet task as the v2 plugin, adapted to the Hardhat 3 plugin/hook model.@cofhe/foundry-plugin— Foundry test utilities:CofheTestbase contract (deployMocks,expectPlaintext,getPlaintext) andCofheClientSDK mock (connect,createInE*,decryptForTx,decryptForView, permits). Usable as a git submodule or npm package, withremappings.txtfor Hardhat 3 Solidity test compatibility.mocksDeployVerbosityconfig option added to both Hardhat plugins:''— silent'v'— single summary line (new default)'vv'— full per-contract deployment logs (previous default behavior)50bb3e4: Decode custom errors from deployed mock contracts by name instead of raw hex selectors.
@cofhe/mock-contractststore/tload) inMockACL.solwith block-number-based storage, removing the EVMcancunrequirement and lowering the Solidity pragma to>=0.8.19.bytecodeanddeployedBytecodefields from published artifacts — they are now sourced at runtime from Hardhat's own compilation output.@cofhe/hardhat-pluginTASK_COMPILE_SOLIDITY_GET_SOURCE_PATHSto inject a stub file that imports all mock contracts, so Hardhat compiles them and registers their artifacts. This lets the Hardhat network decode mock contract custom errors by name (e.g.PermissionInvalid_Expired) rather than raw hex.hre.artifacts.readArtifact()instead of the pre-built artifact bundle.@cofhe/hardhat-3-pluginhre.solidity.build()during thehre.createdhook to compile mock contracts once at startup, enabling the EDR to decode their custom errors by name.deployFixedanddeployVariablenow source bytecode fromhre.artifacts.readArtifact(), ensuring the deployed bytecode matches Hardhat's build info — which is required for error decoding on variable-address contracts likeMockACL.Patch Changes
@cofhe/mock-contracts@0.5.0
Minor Changes
50bb3e4: Decode custom errors from deployed mock contracts by name instead of raw hex selectors.
@cofhe/mock-contractststore/tload) inMockACL.solwith block-number-based storage, removing the EVMcancunrequirement and lowering the Solidity pragma to>=0.8.19.bytecodeanddeployedBytecodefields from published artifacts — they are now sourced at runtime from Hardhat's own compilation output.@cofhe/hardhat-pluginTASK_COMPILE_SOLIDITY_GET_SOURCE_PATHSto inject a stub file that imports all mock contracts, so Hardhat compiles them and registers their artifacts. This lets the Hardhat network decode mock contract custom errors by name (e.g.PermissionInvalid_Expired) rather than raw hex.hre.artifacts.readArtifact()instead of the pre-built artifact bundle.@cofhe/hardhat-3-pluginhre.solidity.build()during thehre.createdhook to compile mock contracts once at startup, enabling the EDR to decode their custom errors by name.deployFixedanddeployVariablenow source bytecode fromhre.artifacts.readArtifact(), ensuring the deployed bytecode matches Hardhat's build info — which is required for error decoding on variable-address contracts likeMockACL.@cofhe/react@0.5.0
Minor Changes
788a6e2: Add
onPollcallback support for decrypt polling (tx + view) so consumers can observe poll progress.onPolland emit{ operation, requestId, attemptIndex, elapsedMs, intervalMs, timeoutMs }once per poll attempt.9a06012: Tighten permit validation and treat invalid permits as missing.
PermitUtils.validatenow enforces schema + signed + not-expired (usePermitUtils.validateSchemafor schema-only validation).ValidationResult.erroris now a typed union ('invalid-schema' | 'expired' | 'not-signed' | null).disabledDueToMissingPermittodisabledDueToMissingValidPermitin read/decrypt hooks and token balance helpers, and disable reads when the active permit is invalid.09bf7c9: Add the
useCofheEnabledhook to readTaskManager.isEnabled()from the connected chain.Patch Changes
503536a: Improve logging ergonomics across React + web SDK.
@cofhe/reactviacreateCofheConfig({ react: { logger } }).@cofhe/sdkcreateWebStoragelogging opt-in viacreateWebStorage({ enableLog }).Updated dependencies [788a6e2]
Updated dependencies [9a06012]
Updated dependencies [503536a]
@cofhe/sdk@0.5.0
Minor Changes
788a6e2: Add
onPollcallback support for decrypt polling (tx + view) so consumers can observe poll progress.onPolland emit{ operation, requestId, attemptIndex, elapsedMs, intervalMs, timeoutMs }once per poll attempt.9a06012: Tighten permit validation and treat invalid permits as missing.
PermitUtils.validatenow enforces schema + signed + not-expired (usePermitUtils.validateSchemafor schema-only validation).ValidationResult.erroris now a typed union ('invalid-schema' | 'expired' | 'not-signed' | null).disabledDueToMissingPermittodisabledDueToMissingValidPermitin read/decrypt hooks and token balance helpers, and disable reads when the active permit is invalid.Patch Changes
503536a: Improve logging ergonomics across React + web SDK.
@cofhe/reactviacreateCofheConfig({ react: { logger } }).@cofhe/sdkcreateWebStoragelogging opt-in viacreateWebStorage({ enableLog }).@cofhe/abi@0.5.0
Patch Changes
@cofhe/foundry-plugin@0.5.0
Patch Changes
@cofhe/site@0.5.0
Minor Changes
788a6e2: Add
onPollcallback support for decrypt polling (tx + view) so consumers can observe poll progress.onPolland emit{ operation, requestId, attemptIndex, elapsedMs, intervalMs, timeoutMs }once per poll attempt.@cofhe/example-react@0.5.0
Patch Changes