Skip to content

Commit

Permalink
ON-843: PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Apr 30, 2024
1 parent ad3037e commit 004c079
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions scripts/orium-marketplace-royalties/01-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ import { AddressZero, THREE_MONTHS } from '../../utils/constants'
import { deployUpgradeableContract } from '../../utils/deploy-upgradeable'

const NETWORK = network.name as Network
const { KMSDeployer, ERC7432WrapperForERC4907 } = addresses[NETWORK]
const { KMSDeployer } = addresses[NETWORK]

const CONTRACT_NAME = 'OriumMarketplaceRoyalties'
const OPERATOR_ADDRESS = KMSDeployer.address
const INITIALIZER_ARGUMENTS: string[] = [
OPERATOR_ADDRESS,
ERC7432WrapperForERC4907.address,
AddressZero,
THREE_MONTHS.toString(),
]
const INITIALIZER_ARGUMENTS: string[] = [OPERATOR_ADDRESS, AddressZero, AddressZero, THREE_MONTHS.toString()]

async function main() {
await deployUpgradeableContract(CONTRACT_NAME, OPERATOR_ADDRESS, INITIALIZER_ARGUMENTS)
Expand Down
1 change: 1 addition & 0 deletions utils/ethers-aws-kms-signer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Source: https://github.com/0xcuonghx/ethers-kms-signer/blob/main/packages/ethers-aws-kms-signer/src/aws-kms-signer.ts
import { GetPublicKeyCommand, KMSClient, SignCommand } from '@aws-sdk/client-kms'
import { ECDSASigValue } from '@peculiar/asn1-ecc'
import { AsnConvert } from '@peculiar/asn1-schema'
Expand Down

0 comments on commit 004c079

Please sign in to comment.