WalletConnect / WalletConnectSharp

A C# implementation of the WalletConnect protocol
Apache License 2.0
161 stars 61 forks source link

Bump Nethereum.HdWallet and Nethereum.Signer #204

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps Nethereum.HdWallet and Nethereum.Signer. These dependencies needed to be updated together. Updates Nethereum.HdWallet from 4.14.0 to 4.21.4

Release notes

Sourced from Nethereum.HdWallet's releases.

4.21.3

Mud Multiple Table registration (not using bulk)

Contract Standards Supports interface standard

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.21.2...4.21.3

Unity release in openupm.com https://github.com/Nethereum/Nethereum.Unity

4.21.2

ERC6492 support

Example and more info: https://eips.ethereum.org/EIPS/eip-6492

 [Fact]
 public async Task ShouldValidateOfflineAsync()
 {
     var create2FactoryAddress = "0xBf07a0Df119Ca234634588fbDb5625594E2a5BCA";
     var factoryCallData = "0x49c81579000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004836a472ab1dd406ecb8d0f933a985541ee3921f0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000007a7f00000000000000000000000000000000000000000000000000000000000000017f7f0f292b79d9ce101861526459da50f62368077ae24affe97b792bf4bdd2e171553d602d80604d3d3981f3363d3d373d3d3d363d732a2b85eb1054d6f0c6c2e37da05ed3e5fea684ef5af43d82803e903d91602b57fd5bf300000000000000000000000000000000000000000000000000000000000000000000000002246171d1c9000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000004836a472ab1dd406ecb8d0f933a985541ee3921f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000942f9ce5d9a33a82f88d233aeb3292e6802303480000000000000000000000000000000000000000000000000014c3c6ef1cdc01000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042f2eaaebf45fc0340eb55f11c52a30e2ca7f48539d0a1f1cdc240482210326494545def903e8ed4441bd5438109abe950f1f79baf032f184728ba2d4161dea32e1b0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
     var originalSignature = "0xc0f8db6019888d87a0afc1299e81ef45d3abce64f63072c8d7a6ef00f5f82c1522958ff110afa98b8c0d23b558376db1d2fbab4944e708f8bf6dc7b977ee07201b00";
 var web3 = new Web3.Web3("https://polygon-mainnet.public.blastapi.io");
 var signatureValidationERC6492 = web3.Eth.SignatureValidationPredeployContractERC6492;

 var signatureERC6492 = signatureValidationERC6492.BuildSignature(create2FactoryAddress, factoryCallData.HexToByteArray(), originalSignature.HexToByteArray());

 Assert.True(signatureValidationERC6492.IsERC6492Signature(signatureERC6492));

 var message = "0x787177";
 var address = "0x4836a472ab1dd406ecb8d0f933a985541ee3921f";

 var isValid = await signatureValidationERC6492.IsValidSignatureMessageAsync(address, message.HexToByteArray(), signatureERC6492);
 Assert.True(isValid);

}

Fixes and extras

  • Fix to make AWSKeyManagementExternalSigner signed messages compatible with EIP-2 by @​hasandogu in Nethereum/Nethereum#1036
  • Request batching for EthSendRawTransaction by @​teledu in Nethereum/Nethereum#1032
  • Mud adding multiquery rpc support to retrieve multiple records of a table, other extra functionality on table services to simplify querying, set and delete records.

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.21.0...4.21.2

Unity package can be found in Nethereum.Unity

... (truncated)

Commits


Updates Nethereum.Signer from 4.14.0 to 4.21.4

Release notes

Sourced from Nethereum.Signer's releases.

4.21.3

Mud Multiple Table registration (not using bulk)

Contract Standards Supports interface standard

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.21.2...4.21.3

Unity release in openupm.com https://github.com/Nethereum/Nethereum.Unity

4.21.2

ERC6492 support

Example and more info: https://eips.ethereum.org/EIPS/eip-6492

 [Fact]
 public async Task ShouldValidateOfflineAsync()
 {
     var create2FactoryAddress = "0xBf07a0Df119Ca234634588fbDb5625594E2a5BCA";
     var factoryCallData = "0x49c81579000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004836a472ab1dd406ecb8d0f933a985541ee3921f0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000007a7f00000000000000000000000000000000000000000000000000000000000000017f7f0f292b79d9ce101861526459da50f62368077ae24affe97b792bf4bdd2e171553d602d80604d3d3981f3363d3d373d3d3d363d732a2b85eb1054d6f0c6c2e37da05ed3e5fea684ef5af43d82803e903d91602b57fd5bf300000000000000000000000000000000000000000000000000000000000000000000000002246171d1c9000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000004836a472ab1dd406ecb8d0f933a985541ee3921f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000942f9ce5d9a33a82f88d233aeb3292e6802303480000000000000000000000000000000000000000000000000014c3c6ef1cdc01000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042f2eaaebf45fc0340eb55f11c52a30e2ca7f48539d0a1f1cdc240482210326494545def903e8ed4441bd5438109abe950f1f79baf032f184728ba2d4161dea32e1b0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
     var originalSignature = "0xc0f8db6019888d87a0afc1299e81ef45d3abce64f63072c8d7a6ef00f5f82c1522958ff110afa98b8c0d23b558376db1d2fbab4944e708f8bf6dc7b977ee07201b00";
 var web3 = new Web3.Web3("https://polygon-mainnet.public.blastapi.io");
 var signatureValidationERC6492 = web3.Eth.SignatureValidationPredeployContractERC6492;

 var signatureERC6492 = signatureValidationERC6492.BuildSignature(create2FactoryAddress, factoryCallData.HexToByteArray(), originalSignature.HexToByteArray());

 Assert.True(signatureValidationERC6492.IsERC6492Signature(signatureERC6492));

 var message = "0x787177";
 var address = "0x4836a472ab1dd406ecb8d0f933a985541ee3921f";

 var isValid = await signatureValidationERC6492.IsValidSignatureMessageAsync(address, message.HexToByteArray(), signatureERC6492);
 Assert.True(isValid);

}

Fixes and extras

  • Fix to make AWSKeyManagementExternalSigner signed messages compatible with EIP-2 by @​hasandogu in Nethereum/Nethereum#1036
  • Request batching for EthSendRawTransaction by @​teledu in Nethereum/Nethereum#1032
  • Mud adding multiquery rpc support to retrieve multiple records of a table, other extra functionality on table services to simplify querying, set and delete records.

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.21.0...4.21.2

Unity package can be found in Nethereum.Unity

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)