authenticated calls using arbitrary cpi [poc and draft] #81
Annotations
12 warnings
[clippy] programs/callable-test/src/lib.rs#L9:
programs/callable-test/src/lib.rs#L9
warning: unused variable: `ctx`
--> programs/callable-test/src/lib.rs:9:20
|
9 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
|
= note: `#[warn(unused_variables)]` on by default
|
[clippy] programs/callable-test/src/lib.rs#L9:
programs/callable-test/src/lib.rs#L9
warning: unused variable: `sender`
--> programs/callable-test/src/lib.rs:9:42
|
9 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
|
[clippy] programs/callable-test/src/lib.rs#L9:
programs/callable-test/src/lib.rs#L9
warning: unused variable: `data`
--> programs/callable-test/src/lib.rs:9:58
|
9 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
[clippy] programs/callable-test-2/src/lib.rs#L10:
programs/callable-test-2/src/lib.rs#L10
warning: unused variable: `ctx`
--> programs/callable-test-2/src/lib.rs:10:20
|
10 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
|
= note: `#[warn(unused_variables)]` on by default
|
[clippy] programs/callable-test-2/src/lib.rs#L10:
programs/callable-test-2/src/lib.rs#L10
warning: unused variable: `sender`
--> programs/callable-test-2/src/lib.rs:10:42
|
10 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
|
[clippy] programs/callable-test-2/src/lib.rs#L10:
programs/callable-test-2/src/lib.rs#L10
warning: unused variable: `data`
--> programs/callable-test-2/src/lib.rs:10:58
|
10 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
[clippy] programs/callable-test/src/lib.rs#L9:
programs/callable-test/src/lib.rs#L9
warning: unused variable: `ctx`
--> programs/callable-test/src/lib.rs:9:20
|
9 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
|
= note: `#[warn(unused_variables)]` on by default
|
[clippy] programs/callable-test/src/lib.rs#L9:
programs/callable-test/src/lib.rs#L9
warning: unused variable: `sender`
--> programs/callable-test/src/lib.rs:9:42
|
9 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
|
[clippy] programs/callable-test/src/lib.rs#L9:
programs/callable-test/src/lib.rs#L9
warning: unused variable: `data`
--> programs/callable-test/src/lib.rs:9:58
|
9 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
[clippy] programs/callable-test-2/src/lib.rs#L10:
programs/callable-test-2/src/lib.rs#L10
warning: unused variable: `ctx`
--> programs/callable-test-2/src/lib.rs:10:20
|
10 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
|
= note: `#[warn(unused_variables)]` on by default
|
[clippy] programs/callable-test-2/src/lib.rs#L10:
programs/callable-test-2/src/lib.rs#L10
warning: unused variable: `sender`
--> programs/callable-test-2/src/lib.rs:10:42
|
10 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
|
[clippy] programs/callable-test-2/src/lib.rs#L10:
programs/callable-test-2/src/lib.rs#L10
warning: unused variable: `data`
--> programs/callable-test-2/src/lib.rs:10:58
|
10 | pub fn on_call(ctx: Context<OnCall>, sender: Pubkey, data: Vec<u8>) -> Result<()> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|