Skip to content

Commit

Permalink
Added CordaSerializable to EVM Entities
Browse files Browse the repository at this point in the history
Signed-off-by: Edoardo Ierina <[email protected]>
  • Loading branch information
eierina committed Dec 29, 2023
1 parent 7966044 commit 962c9a7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package net.corda.v5.application.interop.evm;

import org.jetbrains.annotations.NotNull;

import net.corda.v5.base.annotations.CordaSerializable
import java.math.BigInteger;
import java.util.List;

@SuppressWarnings("unused")
@CordaSerializable
public class Block {
private final BigInteger number;
private final String hash;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package net.corda.v5.application.interop.evm;

import org.jetbrains.annotations.NotNull;

import net.corda.v5.base.annotations.CordaSerializable
import java.math.BigInteger;
import java.util.List;

@CordaSerializable
public class Log {
/**
* The address from which this log was generated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@


import org.jetbrains.annotations.NotNull;

import net.corda.v5.base.annotations.CordaSerializable
import java.math.BigInteger;
import java.util.Objects;

@CordaSerializable
public class TransactionObject {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package net.corda.v5.application.interop.evm;

import org.jetbrains.annotations.NotNull;

import net.corda.v5.base.annotations.CordaSerializable
import java.math.BigInteger;
import java.util.List;
import java.util.Objects;

@CordaSerializable
public class TransactionReceipt {
/**
* The hash of the block where this transaction was in
Expand Down Expand Up @@ -198,4 +199,4 @@ public String toString() {
", type='" + type + '\'' +
'}';
}
}
}

0 comments on commit 962c9a7

Please sign in to comment.