Conversation
Changes to gas cost
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
4c09b25 to
4107c51
Compare
test/helpers/OnchainIDSetup.sol
Outdated
|
|
||
| // Infrastructure | ||
| IdentityHelper.OnchainIDSetup public onchainidSetup; | ||
| address public createx; |
There was a problem hiding this comment.
what do you think if we declare/init this variable in the CreateXHelper?
createx = _deployCreateX();
so we use the same createx variable in all test files rather than declaring/initiating it in all files
There was a problem hiding this comment.
Not relevant with code changes
test/helpers/CreateXHelper.sol
Outdated
| function _deployCreateX() internal returns (address) { | ||
| string memory artifact = vm.readFile("out/CreateX.sol/CreateX.json"); | ||
| bytes memory bytecode = vm.parseJsonBytes(artifact, ".bytecode.object"); |
There was a problem hiding this comment.
Basically we are dealing with CreateX in different repos, what do you think if we moved the createX functionality from erc3643 to this repo?
The erc3643 imports the onchain id so erc3643 can use createx from this repo as well. In this step the auditors will audit the CreateX just in this repo.
at this point we don't need to deal with out folder.
Thoughts?
There was a problem hiding this comment.
I have forked CreateX here: https://github.com/TokenySolutions/createx , with an updated solidity pragma so we can use it with ak projects
| .claude | ||
| CLAUDE.md |
There was a problem hiding this comment.
do we need to mention them? I'm using it too, but just a question if we can add them, same for different repos
There was a problem hiding this comment.
Potentially there could be some sensitive data in these files, I don't want to check that at every commit so I prefer not to include them.
https://tokeny.atlassian.net/browse/BT-1372