difftreelog
docs update tx generation comment
in: master
1 file changed
pallets/nft/src/eth/mod.rsdiffbeforeafterboth151pub fn generate_transaction(collection_id: u32, chain_id: u64) -> ethereum::Transaction {151pub fn generate_transaction(collection_id: u32, chain_id: u64) -> ethereum::Transaction {152 let contract = collection_id_to_address(collection_id);152 let contract = collection_id_to_address(collection_id);153153154 // TODO: Make it work without native runtime by forking ethereum_tx_sign, and154 // FIXME: Can be done on wasm runtime with https://github.com/paritytech/substrate/pull/8728155 // switching to pure-rust implementation of secp256k1156 #[cfg(feature = "std")]155 #[cfg(feature = "std")]157 {156 {158 let signed = ethereum_tx_sign::RawTransaction {157 let signed = ethereum_tx_sign::RawTransaction {