From 4fa637e95c8eb173823da49abaae713ec6b4d2ff Mon Sep 17 00:00:00 2001 From: Alexander Gonzalez Date: Tue, 9 Apr 2024 12:27:33 +0200 Subject: [PATCH] fix: inherit from Metadata in erc20 example --- examples/erc20/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/erc20/src/lib.rs b/examples/erc20/src/lib.rs index e16962234..2b2c25449 100644 --- a/examples/erc20/src/lib.rs +++ b/examples/erc20/src/lib.rs @@ -19,7 +19,7 @@ sol_storage! { } #[external] -#[inherit(ERC20)] +#[inherit(ERC20, Metadata)] impl Token { pub fn constructor(&mut self, name: String, symbol: String) { self.metadata.constructor(name, symbol);