git.delta.rocks / unique-network / refs/commits / 7aa4c5840673

difftreelog

misk: chage uint256 to U256

Trubnikov Sergey2023-01-17parent: #1107c89.patch.diff
in: master

2 files changed

modifiedcrates/evm-coder/src/events.rsdiffbeforeafterboth
--- a/crates/evm-coder/src/events.rs
+++ b/crates/evm-coder/src/events.rs
@@ -15,7 +15,7 @@
 // along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
 
 use ethereum::Log;
-use primitive_types::{H160, H256};
+use primitive_types::{H160, H256, U256};
 
 use crate::types::*;
 
@@ -45,7 +45,7 @@
 	}
 }
 
-impl ToTopic for uint256 {
+impl ToTopic for U256 {
 	fn to_topic(&self) -> H256 {
 		let mut out = [0u8; 32];
 		self.to_big_endian(&mut out);
modifiedpallets/common/src/erc.rsdiffbeforeafterboth
26};26};
27use pallet_evm_coder_substrate::dispatch_to_evm;27use pallet_evm_coder_substrate::dispatch_to_evm;
28use sp_std::{vec, vec::Vec};28use sp_std::{vec, vec::Vec};
29use sp_core::U256;
29use up_data_structs::{30use up_data_structs::{
30 AccessMode, CollectionMode, CollectionPermissions, OwnerRestrictedSet, Property,31 AccessMode, CollectionMode, CollectionPermissions, OwnerRestrictedSet, Property,
31 SponsoringRateLimit, SponsorshipState,32 SponsoringRateLimit, SponsorshipState,
67 #[indexed]68 #[indexed]
68 collection_id: address,69 collection_id: address,
69 /// Token ID.70 /// Token ID.
70 token_id: uint256,71 token_id: U256,
71 },72 },
72}73}
7374