mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-21 15:01:02 +00:00
implement immutable variables codegen (#70)
This commit is contained in:
@@ -17,7 +17,7 @@ impl SolidityData {
|
||||
Self::default()
|
||||
}
|
||||
|
||||
/// Returns the current number of immutables values in the contract.
|
||||
/// Returns the current size of immutable values in the contract.
|
||||
pub fn immutables_size(&self) -> usize {
|
||||
self.immutables.len() * revive_common::BYTE_LENGTH_WORD
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user