git.delta.rocks / unique-network / refs/commits / f56d8764ed3c

difftreelog

docs update tx generation comment

Yaroslav Bolyukin2021-06-02parent: #8e8a175.patch.diff
in: master

1 file changed

modifiedpallets/nft/src/eth/mod.rsdiffbeforeafterboth
151pub 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);
153153
154 // 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/8728
155 // switching to pure-rust implementation of secp256k1
156 #[cfg(feature = "std")]155 #[cfg(feature = "std")]
157 {156 {
158 let signed = ethereum_tx_sign::RawTransaction {157 let signed = ethereum_tx_sign::RawTransaction {