Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump Nethereum.Util from 4.21.2 to 4.26.0 #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 2, 2024

Bumps Nethereum.Util from 4.21.2 to 4.26.0.

Release notes

Sourced from Nethereum.Util's releases.

4.26.0

Mud Postgres Normaliser

The Mud Postgres Normaliser is a service that processes data from the StoredRecords table, which is populated by Store event logs, and normalizes it in PostgreSQL.

Key Features:

Table Creation: For each record, the service ensures that the corresponding table based on the tableId is created. If the table doesn’t exist, it is created using schema information retrieved from the blockchain, including appropriate column types. Data Decoding and Persistence:

The service decodes and inserts or updates the blockchain event data into the PostgreSQL database.

Singleton Tables: Singleton tables are created with a single key of 1, simplifying their structure.

Progress Tracking: A Progress table tracks the last processed blockNumber and rowId, allowing the service to pick up from where it left off and process data in batches.

Configurable Pagination: The service supports configurable batch sizes, making it flexible for different use cases.

Example

public class Program
{
    public static async Task Main(string[] args)
    {
        // Set up the necessary services
        var connection = new NpgsqlConnection("Host=myserver;Username=mylogin;Password=mypass;Database=mydatabase");
        var loggerFactory = LoggerFactory.Create(builder => builder.AddConsole());
        var logger = loggerFactory.CreateLogger<MudPostgresNormaliserProcessingService>();
    // Create the repository (assuming it's already implemented and registered)
    var storeRecordsTableRepository = new MudPostgresStoreRecordsTableRepository(connection, logger);
// Create an instance of the processing service
var processingService = new MudPostgresNormaliserProcessingService(
    storeRecordsTableRepository,
    connection,
    logger
)
{
    RpcUrl = &amp;quot;https://localhost:8545&amp;quot;,
    Address = &amp;quot;0xYourContractAddress&amp;quot;,
    PageSize = 1000 // Optional: configure the number of records processed per batch
};

// Execute the normalisation process


</tr></table>

... (truncated)

Commits
  • 019a4b5 update version
  • d89965a Postgres StoreRecords Normaliser
  • 99f16f7 Combination of keys, each element is 32 bytes
  • f860291 Adding rowId to StoreRecords Entity and table
  • 5b0ab1c KeyEncoder and ValueDecoder changes
  • 44307d2 Getting all StoredRecords paged by rowId and BlockNumber
  • 6e2ae82 Log processing service Mud adding extra parameters for configuration
  • a5eb2ea Adding extra logging to the log orchestrator
  • 9b86397 Update build batch files
  • 495fd77 Update Fx projects with new projects and tidy up structure
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)

Bumps [Nethereum.Util](https://github.com/Nethereum/Nethereum) from 4.21.2 to 4.26.0.
- [Release notes](https://github.com/Nethereum/Nethereum/releases)
- [Commits](Nethereum/Nethereum@4.21.2...4.26.0)

---
updated-dependencies:
- dependency-name: Nethereum.Util
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants