Skip to content

Commit

Permalink
update deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
upacyxou committed May 18, 2023
1 parent 72b06c1 commit 25ca745
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contracts/Karma.sol
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "./superclasses/KetlGuarded.sol";

contract Karma is ERC20Upgradeable, KetlGuarded {
function initialize(
function initializeKarma(
string memory name,
string memory symbol,
address _allowedCaller
Expand Down
2 changes: 1 addition & 1 deletion contracts/superclasses/KetlGuarded.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ contract KetlGuarded is Initializable, OwnableUpgradeable {
function initialize(
address _attestationToken,
address _allowedCaller
) public onlyInitializing {
) public initializer {
__Ownable_init();
attestationToken = KetlAttestation(_attestationToken);
allowedCaller = _allowedCaller;
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async function main() {
karmaFactory,
karmaConstructorArguments,
{
initializer: 'initialize',
initializer: 'initializeKarma',
}
)
console.log(
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11601,11 +11601,11 @@ __metadata:

"typescript@patch:typescript@^5.0.4#~builtin<compat/typescript>":
version: 5.0.4
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=b5f058"
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=d73830"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: d26b6ba97b6d163c55dbdffd9bbb4c211667ebebc743accfeb2c8c0154aace7afd097b51165a72a5bad2cf65a4612259344ff60f8e642362aa1695c760d303ac
checksum: 6a1fe9a77bb9c5176ead919cc4a1499ee63e46b4e05bf667079f11bf3a8f7887f135aa72460a4c3b016e6e6bb65a822cb8689a6d86cbfe92d22cc9f501f09213
languageName: node
linkType: hard

Expand Down

0 comments on commit 25ca745

Please sign in to comment.