Skip to content

Commit

Permalink
Update quoteAsset address in deployOracle.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
alan890104 committed Jan 8, 2024
1 parent fe676a1 commit f407af1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/deployOracle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NetworkProvider } from '@ton-community/blueprint';
export async function run(provider: NetworkProvider) {
// null address represents ton coin
const nullAddress: Address = new Address(0, Buffer.alloc(32));
const quoteAsset: Address = nullAddress;
const {address: quoteAsset} = Address.parseFriendly("EQBqSpvo4S87mX9tjHaG4zhYZeORhVhMapBJpnMZ64jhrEQK");
const oracle = provider.open(await OracleV0.fromInit(nullAddress, quoteAsset));

await oracle.send(
Expand Down
2 changes: 0 additions & 2 deletions tests/Oracle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,6 @@ describe('Oracle', () => {
queryId: 0n,
}
);
let oracleBalanceBefore = await oracle.getGetMyBalance();
//console.log('oracleBalanceBefore', oracleBalanceBefore);
expect(deployResult.transactions).toHaveTransaction({
from: owner.address,
to: oracle.address,
Expand Down

0 comments on commit f407af1

Please sign in to comment.