mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Introduce writeMemory and read/writeBytes32/Address helpers. Fix read/writeU128/U256 to be little-endian. Update each instruction to follow the specification.
		
			
				
	
	
		
			10 lines
		
	
	
		
			293 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			293 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
|   sstore(0, difficulty())
 | |
| }
 | |
| // ----
 | |
| // Trace:
 | |
| // Memory dump:
 | |
| //     20: 9999990900000000000000000000000000000000000000000000000000000000
 | |
| // Storage dump:
 | |
| //   0000000000000000000000000000000000000000000000000000000000000000: 9999990900000000000000000000000000000000000000000000000000000000
 |