Skip to content

Commit

Permalink
chain id back to optimism main
Browse files Browse the repository at this point in the history
  • Loading branch information
jawndiego committed Jun 24, 2024
1 parent 98f7b59 commit a9924f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/site/components/client/EditUsernameDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function EditUsernameDialog({ open, setOpen }: UsernameDialogProps) {
const ID_REGISTRY_EIP_712_DOMAIN = {
name: 'River IdRegistry',
version: '1',
chainId: 11155420,
chainId: 10,
verifyingContract: addresses.idRegistry.optimism,
} as const
const REGISTER_TYPE = [
Expand Down
2 changes: 1 addition & 1 deletion apps/site/components/client/UsernameDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function UsernameDialog({ open, setOpen }: UsernameDialogProps) {
const ID_REGISTRY_EIP_712_DOMAIN = {
name: 'River IdRegistry',
version: '1',
chainId: 11155420,
chainId: 10,
verifyingContract: addresses.idRegistry.optimism,
} as const
const REGISTER_TYPE = [
Expand Down
2 changes: 1 addition & 1 deletion apps/site/config/syndicateClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const generatePostTxnInput = (post: Post) => ({
export const generateIdRegistryInput = (register: Register) => ({
projectId: projectIdRegistry,
contractAddress: addresses.idRegistry.optimism,
chainId: 11155420,
chainId: 10,
functionSignature:
'registerFor(address to, address recovery, uint256 deadline, bytes sig)',
args: {
Expand Down
6 changes: 1 addition & 5 deletions packages/scrypt/constants/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ type AddressBook = {
}

export const addresses: AddressBook = {
// idRegistry: {
// optimism: '0x44192479891D358Ec917765dbF6472B916DC9A0C',
// },
// optimism sepolia
idRegistry: {
optimism: '0xc5799be72019c0b79a176bb386644b8be3b58590',
optimism: '0x44192479891D358Ec917765dbF6472B916DC9A0C',
},
postGateway: {
nova: '0x423a602F5e551A25b28eb33eB56B961590aD5290',
Expand Down

0 comments on commit a9924f3

Please sign in to comment.