Skip to content

Commit

Permalink
fix: mainnet faker contract address
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo committed Aug 2, 2024
1 parent c874c00 commit 17d71a8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test-app/src/components/debugger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,17 @@ export const Debugger = () => {
sponsored = false
) => {
clearState();
const contractAddress = network.isMainnet()
? 'SPY0682ZM7VGPMVGQP99Z05J3QWMVV83RA6N42SA'
: 'STS8CKF63P16J28AYF7PXW9E5AACH0NZNRV74CM7';

const args = [
uintCV(1234),
intCV(-234),
bufferCV(Buffer.from('hello, world')),
stringAsciiCV('hey-ascii'),
stringUtf8CV('hey-utf8'),
standardPrincipalCV('STS8CKF63P16J28AYF7PXW9E5AACH0NZNRV74CM7'),
standardPrincipalCV(contractAddress),
trueCV(),
];
const postConditions = [
Expand All @@ -150,7 +154,7 @@ export const Debugger = () => {
console.log('creating allow mode contract call');
await doContractCall({
network,
contractAddress: 'STS8CKF63P16J28AYF7PXW9E5AACH0NZNRV74CM7',
contractAddress,
contractName: 'faker',
functionName: 'rawr',
functionArgs: args,
Expand Down

0 comments on commit 17d71a8

Please sign in to comment.