InitSale + AbortBeforeBegin is good.
This commit is contained in:
parent
c1f5331b4b
commit
ef7f52b124
139
STUFF.txt
139
STUFF.txt
|
@ -36,142 +36,3 @@
|
|||
00000000000000000000000000000000000000000000000000000000000081c3
|
||||
01000000000000000000000000ddb64fe46a91d46ee29420539fc25fd07c5fea3e000200000000000000000de0b6b3a764000000000000000000000000000022d491bde2303f2f43325b2108d26f1eaba1e32b00000000000000000000000022d491bde2303f2f43325b2108d26f1eaba1e32b
|
||||
|
||||
|
||||
[devnet] [2022-04-28T21:45:43.164279670Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:43.164379890Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:43.570287322Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:43.570388182Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:43.978091013Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:43.978220523Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.390740724Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:44.390896524Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.796946906Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:44.797048336Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.917398167Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o invoke [1]
|
||||
[devnet] [2022-04-28T21:45:44.917623777Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:44.917643717Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 1176240 }
|
||||
[devnet] [2022-04-28T21:45:44.917647607Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995982198320, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 2wTq4KVUA4Z5Nynm35UTvqwoA4oKoTUpEKiFCo5UF1F7, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:44.917669947Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.917685757Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:44.917689347Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 41 }
|
||||
[devnet] [2022-04-28T21:45:44.917691957Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 2wTq4KVUA4Z5Nynm35UTvqwoA4oKoTUpEKiFCo5UF1F7, account: RefCell { value: Account { lamports: 1176240, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:44.917706487Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.917729187Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:44.917735987Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o }
|
||||
[devnet] [2022-04-28T21:45:44.917740057Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 2wTq4KVUA4Z5Nynm35UTvqwoA4oKoTUpEKiFCo5UF1F7, account: RefCell { value: Account { lamports: 1176240, data.len: 41, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 } } }]
|
||||
[devnet] [2022-04-28T21:45:44.917758027Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.917781347Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o consumed 25364 of 200000 compute units
|
||||
[devnet] [2022-04-28T21:45:44.917806807Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o success
|
||||
[devnet] [2022-04-28T21:45:44.918922937Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o invoke [1]
|
||||
[devnet] [2022-04-28T21:45:44.919119217Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:44.919136477Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 1176240 }
|
||||
[devnet] [2022-04-28T21:45:44.919140787Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995982198320, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 2wTq4KVUA4Z5Nynm35UTvqwoA4oKoTUpEKiFCo5UF1F7, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:44.919166007Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.919177907Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:44.919188597Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 41 }
|
||||
[devnet] [2022-04-28T21:45:44.919190777Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 2wTq4KVUA4Z5Nynm35UTvqwoA4oKoTUpEKiFCo5UF1F7, account: RefCell { value: Account { lamports: 1176240, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:44.919202257Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.919219467Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:44.919234277Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o }
|
||||
[devnet] [2022-04-28T21:45:44.919237937Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 2wTq4KVUA4Z5Nynm35UTvqwoA4oKoTUpEKiFCo5UF1F7, account: RefCell { value: Account { lamports: 1176240, data.len: 41, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 } } }]
|
||||
[devnet] [2022-04-28T21:45:44.919250927Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:44.919269837Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o consumed 25364 of 200000 compute units
|
||||
[devnet] [2022-04-28T21:45:44.919290967Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o success
|
||||
[devnet] [2022-04-28T21:45:45.204345057Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:45.204468907Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.347892537Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o invoke [1]
|
||||
[devnet] [2022-04-28T21:45:45.348244267Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.348260217Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 3932400 }
|
||||
[devnet] [2022-04-28T21:45:45.348263947Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995981017080, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 9VVSotgbg6XpVd5rJiJG81LrMFsQi3Qyb7UdTMQfXpam, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.348284547Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.348303357Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.348307657Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 437 }
|
||||
[devnet] [2022-04-28T21:45:45.348309187Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 9VVSotgbg6XpVd5rJiJG81LrMFsQi3Qyb7UdTMQfXpam, account: RefCell { value: Account { lamports: 3932400, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.348321187Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.348341307Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.348354097Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o }
|
||||
[devnet] [2022-04-28T21:45:45.348357387Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 9VVSotgbg6XpVd5rJiJG81LrMFsQi3Qyb7UdTMQfXpam, account: RefCell { value: Account { lamports: 3932400, data.len: 437, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.348371147Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.348390267Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o consumed 98370 of 200000 compute units
|
||||
[devnet] [2022-04-28T21:45:45.348408127Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o success
|
||||
[devnet] [2022-04-28T21:45:45.349043157Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o invoke [1]
|
||||
[devnet] [2022-04-28T21:45:45.349308367Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.349324997Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 3932400 }
|
||||
[devnet] [2022-04-28T21:45:45.349327297Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995981017080, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 9VVSotgbg6XpVd5rJiJG81LrMFsQi3Qyb7UdTMQfXpam, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.349343367Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.349361387Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.349363737Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 437 }
|
||||
[devnet] [2022-04-28T21:45:45.349365287Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 9VVSotgbg6XpVd5rJiJG81LrMFsQi3Qyb7UdTMQfXpam, account: RefCell { value: Account { lamports: 3932400, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.349381557Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.349400797Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.349410837Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o }
|
||||
[devnet] [2022-04-28T21:45:45.349414787Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 9VVSotgbg6XpVd5rJiJG81LrMFsQi3Qyb7UdTMQfXpam, account: RefCell { value: Account { lamports: 3932400, data.len: 437, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.349434687Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.349444507Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o consumed 98370 of 200000 compute units
|
||||
[devnet] [2022-04-28T21:45:45.349459777Z DEBUG solana_runtime::message_processor::stable_log] Program Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o success
|
||||
[devnet] [2022-04-28T21:45:45.612102038Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:45.612197108Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.852532492Z DEBUG solana_runtime::message_processor::stable_log] Program 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM invoke [1]
|
||||
[devnet] [2022-04-28T21:45:45.852668862Z DEBUG solana_runtime::message_processor::stable_log] Program log: bbrp in init_icco_sale!
|
||||
[devnet] [2022-04-28T21:45:45.852780862Z DEBUG solana_runtime::message_processor::stable_log] Program log: time: 1651182344 start: 33159 end: 33219
|
||||
[devnet] [2022-04-28T21:45:45.852787802Z DEBUG solana_runtime::message_processor::stable_log] Program log: sale_id: 21
|
||||
[devnet] [2022-04-28T21:45:45.852885402Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.852899302Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 904800 }
|
||||
[devnet] [2022-04-28T21:45:45.852903642Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995977079680, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 4AH3gLTnqewTGJjKLQVkZ2rdvjNw8xDon8Q4BxV135z2, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.852929532Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.852955832Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.852968752Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 2 }
|
||||
[devnet] [2022-04-28T21:45:45.852970972Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 4AH3gLTnqewTGJjKLQVkZ2rdvjNw8xDon8Q4BxV135z2, account: RefCell { value: Account { lamports: 904800, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.852984782Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.853011772Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.853036032Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM }
|
||||
[devnet] [2022-04-28T21:45:45.853041622Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 4AH3gLTnqewTGJjKLQVkZ2rdvjNw8xDon8Q4BxV135z2, account: RefCell { value: Account { lamports: 904800, data.len: 2, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 0000 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.853063332Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.853170402Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.853187092Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 897840 }
|
||||
[devnet] [2022-04-28T21:45:45.853189572Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995976174880, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 86s2xZxnPneE2Zvs7sPT5RzxeqQ84V3jZwSGqbVd4cSf, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.853213192Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.853229842Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.853265532Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 1 }
|
||||
[devnet] [2022-04-28T21:45:45.853268872Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 86s2xZxnPneE2Zvs7sPT5RzxeqQ84V3jZwSGqbVd4cSf, account: RefCell { value: Account { lamports: 897840, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.853282152Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.853309502Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.853313412Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM }
|
||||
[devnet] [2022-04-28T21:45:45.853317602Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 86s2xZxnPneE2Zvs7sPT5RzxeqQ84V3jZwSGqbVd4cSf, account: RefCell { value: Account { lamports: 897840, data.len: 1, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 00 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.853330162Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.853344872Z DEBUG solana_runtime::message_processor::stable_log] Program 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM consumed 72601 of 200000 compute units
|
||||
[devnet] [2022-04-28T21:45:45.853368032Z DEBUG solana_runtime::message_processor::stable_log] Program 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM success
|
||||
[devnet] [2022-04-28T21:45:45.854059992Z DEBUG solana_runtime::message_processor::stable_log] Program 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM invoke [1]
|
||||
[devnet] [2022-04-28T21:45:45.854301702Z DEBUG solana_runtime::message_processor::stable_log] Program log: bbrp in init_icco_sale!
|
||||
[devnet] [2022-04-28T21:45:45.854311852Z DEBUG solana_runtime::message_processor::stable_log] Program log: time: 1651182345 start: 33159 end: 33219
|
||||
[devnet] [2022-04-28T21:45:45.854422692Z DEBUG solana_runtime::message_processor::stable_log] Program log: sale_id: 21
|
||||
[devnet] [2022-04-28T21:45:45.854501542Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.854578352Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 904800 }
|
||||
[devnet] [2022-04-28T21:45:45.854582092Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995977079680, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 4AH3gLTnqewTGJjKLQVkZ2rdvjNw8xDon8Q4BxV135z2, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.854601682Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.854627222Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.854650162Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 2 }
|
||||
[devnet] [2022-04-28T21:45:45.854652532Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 4AH3gLTnqewTGJjKLQVkZ2rdvjNw8xDon8Q4BxV135z2, account: RefCell { value: Account { lamports: 904800, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.854664952Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.854686652Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.854691552Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM }
|
||||
[devnet] [2022-04-28T21:45:45.854695832Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 4AH3gLTnqewTGJjKLQVkZ2rdvjNw8xDon8Q4BxV135z2, account: RefCell { value: Account { lamports: 904800, data.len: 2, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 0000 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.854718892Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.854828112Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.854927452Z TRACE solana_runtime::system_instruction_processor] process_instruction: Transfer { lamports: 897840 }
|
||||
[devnet] [2022-04-28T21:45:45.854930032Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J, account: RefCell { value: Account { lamports: 995976174880, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }, KeyedAccount { is_signer: false, is_writable: true, key: 86s2xZxnPneE2Zvs7sPT5RzxeqQ84V3jZwSGqbVd4cSf, account: RefCell { value: Account { lamports: 0, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.854946932Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.854969532Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.854973401Z TRACE solana_runtime::system_instruction_processor] process_instruction: Allocate { space: 1 }
|
||||
[devnet] [2022-04-28T21:45:45.854975432Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 86s2xZxnPneE2Zvs7sPT5RzxeqQ84V3jZwSGqbVd4cSf, account: RefCell { value: Account { lamports: 897840, data.len: 0, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.854987792Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.855013501Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 invoke [2]
|
||||
[devnet] [2022-04-28T21:45:45.855017432Z TRACE solana_runtime::system_instruction_processor] process_instruction: Assign { owner: 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM }
|
||||
[devnet] [2022-04-28T21:45:45.855021692Z TRACE solana_runtime::system_instruction_processor] keyed_accounts: [KeyedAccount { is_signer: false, is_writable: false, key: 11111111111111111111111111111111, account: RefCell { value: Account { lamports: 1, data.len: 14, owner: NativeLoader1111111111111111111111111111111, executable: true, rent_epoch: 0, data: 73797374656d5f70726f6772616d } } }, KeyedAccount { is_signer: true, is_writable: true, key: 86s2xZxnPneE2Zvs7sPT5RzxeqQ84V3jZwSGqbVd4cSf, account: RefCell { value: Account { lamports: 897840, data.len: 1, owner: 11111111111111111111111111111111, executable: false, rent_epoch: 0, data: 00 } } }]
|
||||
[devnet] [2022-04-28T21:45:45.855033892Z DEBUG solana_runtime::message_processor::stable_log] Program 11111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:45.855045421Z DEBUG solana_runtime::message_processor::stable_log] Program 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM consumed 72601 of 200000 compute units
|
||||
[devnet] [2022-04-28T21:45:45.855057061Z DEBUG solana_runtime::message_processor::stable_log] Program 5yrpFgtmiBkRmDgveVErMWuxC25eK5QE5ouZgfi46aqM success
|
||||
[devnet] [2022-04-28T21:45:46.020694149Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:46.020794309Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
||||
[devnet] [2022-04-28T21:45:46.428976471Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 invoke [1]
|
||||
[devnet] [2022-04-28T21:45:46.429090881Z DEBUG solana_runtime::message_processor::stable_log] Program Vote111111111111111111111111111111111111111 success
|
|
@ -21,6 +21,7 @@ import { sleepFor, parseSaleInit } from "../";
|
|||
|
||||
import {
|
||||
vaa_address,
|
||||
icco_state_address,
|
||||
init_icco_sale_ix,
|
||||
abort_icco_sale_ix,
|
||||
} from "../../solana/icco_contributor-node";
|
||||
|
@ -261,10 +262,15 @@ describe("Solana dev Tests", () => {
|
|||
);
|
||||
// call contributor contract
|
||||
const tx = new Transaction().add(ix);
|
||||
await solanaConnection.sendTransaction(tx, [walletAccount], {
|
||||
skipPreflight: false,
|
||||
preflightCommitment: "singleGossip",
|
||||
});
|
||||
const tx_id = await solanaConnection.sendTransaction(
|
||||
tx,
|
||||
[walletAccount],
|
||||
{
|
||||
skipPreflight: false,
|
||||
preflightCommitment: "singleGossip",
|
||||
}
|
||||
);
|
||||
await solanaConnection.confirmTransaction(tx_id);
|
||||
}
|
||||
|
||||
// -----------------------
|
||||
|
@ -315,12 +321,39 @@ describe("Solana dev Tests", () => {
|
|||
);
|
||||
// call contributor contract
|
||||
const tx = new Transaction().add(ix);
|
||||
await solanaConnection.sendTransaction(tx, [walletAccount], {
|
||||
skipPreflight: false,
|
||||
preflightCommitment: "singleGossip",
|
||||
});
|
||||
const tx_id = await solanaConnection.sendTransaction(
|
||||
tx,
|
||||
[walletAccount],
|
||||
{
|
||||
skipPreflight: false,
|
||||
preflightCommitment: "singleGossip",
|
||||
}
|
||||
);
|
||||
await solanaConnection.confirmTransaction(tx_id);
|
||||
}
|
||||
|
||||
const icco_state_pda_address = icco_state_address(
|
||||
SOLANA_CONTRIBUTOR_ADDR,
|
||||
BigInt(saleInit.saleId.toString())
|
||||
);
|
||||
console.log(
|
||||
"icco_state_pda_address: ",
|
||||
icco_state_pda_address.toString()
|
||||
);
|
||||
const icco_state_pda_address_pk = new PublicKey(
|
||||
icco_state_pda_address.toString()
|
||||
);
|
||||
|
||||
// const slot = await solanaConnection.getSlot();
|
||||
// console.log("slot: ", slot);
|
||||
|
||||
const icco_state_pda_info = await solanaConnection.getParsedAccountInfo(
|
||||
// getAccountInfoAndContext(
|
||||
icco_state_pda_address_pk,
|
||||
"confirmed"
|
||||
);
|
||||
console.log(icco_state_pda_info);
|
||||
|
||||
// Done here.
|
||||
ethProvider.destroy();
|
||||
console.log("init_icco_sale abort_icco_sale done");
|
||||
|
|
|
@ -88,6 +88,8 @@ pub fn abort_icco_sale(
|
|||
let derivation_data: SaleStateDerivationData = (&*accs).into();
|
||||
accs.sale_state.verify_derivation(ctx.program_id, &derivation_data)?;
|
||||
|
||||
msg!("state_key: {:?}", accs.sale_state.info().key);
|
||||
|
||||
// sale_state account set
|
||||
if accs.sale_state.is_sealed {
|
||||
return Err(SaleHasBeenSealed.into());
|
||||
|
|
|
@ -242,6 +242,10 @@ pub fn init_icco_sale(
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get_icco_state_address (program_id: Pubkey, sale_id: u128) -> Pubkey {
|
||||
SaleStateAccount::<'_, { AccountState::Initialized }>::key(&SaleStateDerivationData{sale_id: sale_id}, &program_id)
|
||||
}
|
||||
|
||||
pub fn abort_icco_sale(
|
||||
program_id: Pubkey,
|
||||
sale_id: u128,
|
||||
|
|
|
@ -12,6 +12,7 @@ use crate::{
|
|||
EmitterAccount
|
||||
},
|
||||
instructions::{
|
||||
get_icco_state_address,
|
||||
init_icco_sale,
|
||||
abort_icco_sale,
|
||||
},
|
||||
|
@ -147,6 +148,11 @@ pub fn vaa_address(bridge_id: String, vaa: Vec<u8>) -> Vec<u8> {
|
|||
message_key.to_bytes().to_vec()
|
||||
}
|
||||
|
||||
#[wasm_bindgen]
|
||||
pub fn icco_state_address(program_id: String, sale_id: u64) -> Pubkey {
|
||||
get_icco_state_address (Pubkey::from_str(program_id.as_str()).unwrap(), sale_id as u128)
|
||||
}
|
||||
|
||||
#[wasm_bindgen]
|
||||
pub fn init_icco_sale_ix(
|
||||
program_id: String,
|
||||
|
|
Loading…
Reference in New Issue