Skip to content

Commit

Permalink
Merge pull request #86 from synlestidae/enhancement/accesslist-vec-pu…
Browse files Browse the repository at this point in the history
…blic

Make AccessList Vec<Access> public to enhance library usability
  • Loading branch information
synlestidae committed Mar 19, 2024
2 parents a171159 + dda129a commit d5f2ad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ethereum-tx-sign"
version = "6.1.2"
version = "6.1.3"
description = "Allows you to sign Ethereum transactions offline."
repository = "https://github.com/synlestidae/ethereum-tx-sign"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub struct Access {

#[derive(Debug, Default, Clone, Deserialize, Serialize, PartialEq, Eq)]
/// [EIP-2930](https://eips.ethereum.org/EIPS/eip-2930) access list.
pub struct AccessList(Vec<Access>);
pub struct AccessList(pub Vec<Access>);

impl Encodable for AccessList {
/// Encodes the access list according to [EIP-2930](https://eips.ethereum.org/EIPS/eip-2930).
Expand Down

0 comments on commit d5f2ad2

Please sign in to comment.