Skip to content

Commit

Permalink
fix: conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
yum0e committed Jul 13, 2023
1 parent 48def8f commit 86bea2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/misc/CheatSheet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import "forge-std/console.sol";

contract CheatSheet is SismoConnect {
// reference your appId
bytes16 public constant APP_ID = 0x32403ced4b65f2079eda77c84e7d2be6;
bytes16 private _appId = 0x32403ced4b65f2079eda77c84e7d2be6;
// allow impersonation
bool public constant IS_IMPERSONATION_MODE = true;
bool private _isImpersonationMode = true;

constructor()
// use buildConfig helper to easily build a Sismo Connect config in Solidity
SismoConnect(buildConfig({appId: APP_ID, isImpersonationMode: IS_IMPERSONATION_MODE}))
SismoConnect(buildConfig({appId: _appId, isImpersonationMode: _isImpersonationMode}))
{}

function verifySismoConnectResponse(bytes memory response) public {
Expand Down
4 changes: 1 addition & 3 deletions test/e2e/SismoConnectE2E.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,7 @@ contract SismoConnectE2E is HydraS3BaseTest {

UpgradeableExample upgradeable = UpgradeableExample(address(proxy));

(, bytes memory responseEncoded) = hydraS3Proofs.getResponseWithOneClaimAndSignature(
commitmentMapperRegistry
);
(, bytes memory responseEncoded) = hydraS3Proofs.getResponseWithOneClaimAndSignature();

upgradeable.exposed_verify({responseBytes: responseEncoded, signature: signatureRequest});

Expand Down

0 comments on commit 86bea2b

Please sign in to comment.