Skip to content

Commit

Permalink
Update solana.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mantasfam committed Sep 25, 2024
1 parent a3fd41c commit 7dc1ad3
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/web3Provider/solana.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ export class Solana {
throw res.error;
}

log.info({
message: `Response from method ${method}: ${JSON.stringify(
res.result,
)}`,
detail: `solana - API call returned successfully.`,
endpoint: 'solana.call',
});

return res.result;
} catch (e) {
log.error({
Expand Down Expand Up @@ -118,11 +110,6 @@ class Contract {
constructor(abi, address) {
this.abi = abi;
this.address = address;
log.info({
message: `Contract instance created for address: ${address}`,
detail: `solana - Contract creation logged.`,
endpoint: 'solana.Contract.constructor',
});
}

async call(method, params) {
Expand Down Expand Up @@ -156,14 +143,6 @@ class Contract {
throw res.error;
}

log.info({
message: `Response from method ${method}: ${JSON.stringify(
res.result,
)} for contract ${this.address}`,
detail: `solana - Contract API call returned successfully.`,
endpoint: 'solana.Contract.call',
});

return res.result;
} catch (e) {
log.error({
Expand Down

0 comments on commit 7dc1ad3

Please sign in to comment.