Skip to content

Commit

Permalink
Clean up debugging console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Jeston committed Mar 22, 2024
1 parent 59ec5c2 commit 8b44dd7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions packages/orderbook/src/seaport/seaport-lib-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@ function convertToV6Provider(
): JsonRpcProvider {
const overwrittenProvider = new JsonRpcProvider(provider.connection.url);

// eslint-disable-next-line no-console
console.log('Overwritten provider getSigner method');
// eslint-disable-next-line no-console
console.log(overwrittenProvider.getSigner);
// eslint-disable-next-line no-console
console.log('Overwriter provider methods');
// eslint-disable-next-line no-console
console.log(JSON.stringify(Object.keys(overwrittenProvider), null, 2));

// Need to override the getSigner method to mimic V5 behaviour
overwrittenProvider.getSigner = async function getSigner(
address?: number | string,
Expand Down
9 changes: 0 additions & 9 deletions packages/orderbook/src/seaport/seaport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,6 @@ export class Seaport {
const { orderComponents, tips } = this.mapImmutableOrderToSeaportOrderComponents(order);
const seaportLib = this.getSeaportLib(order);

try {
const signer = await this.provider.getSigner(account);
const address = await signer.getAddress();
// eslint-disable-next-line no-console
console.log(`Fulfiller address: ${address}`);
} catch {
// no-op - this is for temporary debugging
}

const { actions: seaportActions } = await seaportLib.fulfillOrders({
accountAddress: account,
fulfillOrderDetails: [
Expand Down

0 comments on commit 8b44dd7

Please sign in to comment.