Copy duplicates the current storage.
()
| 34 | |
| 35 | // Copy duplicates the current storage. |
| 36 | func (s Storage) Copy() Storage { |
| 37 | cpy := make(Storage) |
| 38 | for key, value := range s { |
| 39 | cpy[key] = value |
| 40 | } |
| 41 | |
| 42 | return cpy |
| 43 | } |
| 44 | |
| 45 | // LogConfig are the configuration options for structured logger the EVM |
| 46 | type LogConfig struct { |
no outgoing calls
no test coverage detected