mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 05:51:02 +00:00
Upgrade to substrate rc4 release (#131)
* Upgrade to substrate rc4 release * Fix up test-node/service * Fix up client node config * Fix up remaining compilation errors * Fmt * Remove fixme * Fix test * Release v0.10.0
This commit is contained in:
+2
-2
@@ -244,7 +244,7 @@ impl<T: Runtime> Client<T> {
|
||||
/// Get a block hash. By default returns the latest block hash
|
||||
pub async fn block_hash(
|
||||
&self,
|
||||
block_number: Option<BlockNumber<T>>,
|
||||
block_number: Option<BlockNumber>,
|
||||
) -> Result<Option<T::Hash>, Error> {
|
||||
let hash = self.rpc.block_hash(block_number).await?;
|
||||
Ok(hash)
|
||||
@@ -578,7 +578,7 @@ mod tests {
|
||||
|
||||
// create raw payload with AccoundId and sign it
|
||||
let raw_payload = client
|
||||
.create_unsigned(
|
||||
.create_payload(
|
||||
balances::TransferCall {
|
||||
to: &dest,
|
||||
amount: 10_000,
|
||||
|
||||
Reference in New Issue
Block a user