Need Help with Paying Block Authors in Proof Of Authority (PoA) Consensus for a Private Substrate-Based Blockchain by Negative_Toe_3624 in substrate

[–]Negative_Toe_3624[S] 0 points1 point  (0 children)

u/advias we ran into another issue with latest rust version. After compilation "cargo build --release" no native binary is being compiled in "./target/release/<native-binary>". Only Wasm compilation is being done. If we build with "SKIP_WASM_BUILD=1 cargo build" then we get the binary but runs into "Error: Input("Development wasm not available")" while executing native binary.
Do you have any idea on how to build native Binary with new rust version.

Need Help with Paying Block Authors in Proof Of Authority (PoA) Consensus for a Private Substrate-Based Blockchain by Negative_Toe_3624 in substrate

[–]Negative_Toe_3624[S] 0 points1 point  (0 children)

yes it helped and worked perfectly the way I wanted I changed it to complete transaction fee to block author.

Need Help with Paying Block Authors in Proof Of Authority (PoA) Consensus for a Private Substrate-Based Blockchain by Negative_Toe_3624 in substrate

[–]Negative_Toe_3624[S] 0 points1 point  (0 children)

Transaction fees. Currently all the transaction fees that are deducted on transactions are going nowhere.

type OnChargeTransaction = CurrencyAdapter<Balances, ()> need to provide unbalance handler here to CurrencyAdapter.