s/contract_id/program_id/g
This commit is contained in:
@ -5,13 +5,13 @@ import {BudgetProgram} from '../src/budget-program';
|
|||||||
|
|
||||||
test('pay', () => {
|
test('pay', () => {
|
||||||
const from = new Account();
|
const from = new Account();
|
||||||
const contract = new Account();
|
const program = new Account();
|
||||||
const to = new Account();
|
const to = new Account();
|
||||||
let transaction;
|
let transaction;
|
||||||
|
|
||||||
transaction = BudgetProgram.pay(
|
transaction = BudgetProgram.pay(
|
||||||
from.publicKey,
|
from.publicKey,
|
||||||
contract.publicKey,
|
program.publicKey,
|
||||||
to.publicKey,
|
to.publicKey,
|
||||||
123,
|
123,
|
||||||
);
|
);
|
||||||
@ -20,7 +20,7 @@ test('pay', () => {
|
|||||||
|
|
||||||
transaction = BudgetProgram.pay(
|
transaction = BudgetProgram.pay(
|
||||||
from.publicKey,
|
from.publicKey,
|
||||||
contract.publicKey,
|
program.publicKey,
|
||||||
to.publicKey,
|
to.publicKey,
|
||||||
123,
|
123,
|
||||||
BudgetProgram.signatureCondition(from.publicKey),
|
BudgetProgram.signatureCondition(from.publicKey),
|
||||||
@ -30,7 +30,7 @@ test('pay', () => {
|
|||||||
|
|
||||||
transaction = BudgetProgram.pay(
|
transaction = BudgetProgram.pay(
|
||||||
from.publicKey,
|
from.publicKey,
|
||||||
contract.publicKey,
|
program.publicKey,
|
||||||
to.publicKey,
|
to.publicKey,
|
||||||
123,
|
123,
|
||||||
BudgetProgram.signatureCondition(from.publicKey),
|
BudgetProgram.signatureCondition(from.publicKey),
|
||||||
|
@ -204,7 +204,7 @@ test('request airdrop', async () => {
|
|||||||
{
|
{
|
||||||
error: null,
|
error: null,
|
||||||
result: {
|
result: {
|
||||||
contract_id: [
|
program_id: [
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user